Update master to aliroot
[u/mrichter/AliRoot.git] / MONITOR / alistoragemanager / CMakeLists.txt
1 # **************************************************************************
2 # * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
3 # *                                                                        *
4 # * Author: The ALICE Off-line Project.                                    *
5 # * Contributors are mentioned in the code where appropriate.              *
6 # *                                                                        *
7 # * Permission to use, copy, modify and distribute this software and its   *
8 # * documentation strictly for non-commercial purposes is hereby granted   *
9 # * without fee, provided that the above copyright notice appears in all   *
10 # * copies and that both the copyright notice and this permission notice   *
11 # * appear in the supporting documentation. The authors make no claims     *
12 # * about the suitability of this software for any purpose. It is          *
13 # * provided "as is" without express or implied warranty.                  *
14 # **************************************************************************
15
16 # Module include folder
17 include_directories(${AliRoot_SOURCE_DIR}/MONITOR/alistoragemanager
18                    )
19
20 # Additional include folders in alphabetical order
21 include_directories(${AliRoot_SOURCE_DIR}/MONITOR/MONITOR
22                     ${AliRoot_SOURCE_DIR}/MONITOR/MONITORzmq
23                     ${AliRoot_SOURCE_DIR}/STEER/ESD
24                     ${AliRoot_SOURCE_DIR}/STEER/STEERBase
25                    )
26
27 add_definitions(-DZMQ)
28
29 # alistorage executable
30 add_executable(alistorage alistorage.cxx)
31 target_link_libraries(alistorage MONITOR MONITORzmq)
32 if(PYTHIA6)
33     target_link_libraries(alistorage EVGEN HepMC HepMCParser)
34 endif(PYTHIA6)
35
36 # Installation
37 install(TARGETS alistorage RUNTIME DESTINATION bin)
38
39 # Header files: set
40 set(HDRS
41     AliStorageTypes.h
42    )
43
44 # Header files: install
45 install(FILES ${HDRS} DESTINATION include)
46
47 # alistorageadmin executable
48 add_executable(alistorageadmin alistorageadmin.cxx)
49 target_link_libraries(alistorageadmin MONITOR MONITORzmq)
50 if(PYTHIA6)
51     target_link_libraries(alistorageadmin EVGEN HepMC HepMCParser)
52 endif(PYTHIA6)
53
54 # Installation
55 install(TARGETS alistorageadmin RUNTIME DESTINATION bin)
56
57
58 # alifakedisplay executable
59 add_executable(alifakedisplay alifakedisplay.cxx)
60 target_link_libraries(alifakedisplay MONITOR MONITORzmq)
61 if(PYTHIA6)
62     target_link_libraries(alifakedisplay EVGEN HepMC HepMCParser)
63 endif(PYTHIA6)
64
65 # Installation
66 install(TARGETS alifakedisplay RUNTIME DESTINATION bin)
67
68
69 # alistorageminimalexample executable
70 add_executable(alistorageminimalexample alistorageminimalexample.cxx)
71 target_link_libraries(alistorageminimalexample MONITOR MONITORzmq)
72 if(PYTHIA6)
73     target_link_libraries(alistorageminimalexample EVGEN HepMC HepMCParser)
74 endif(PYTHIA6)
75
76 # Installation
77 install(TARGETS alistorageminimalexample RUNTIME DESTINATION bin)
78
79
80 # alistoragegetpoints executable
81 add_executable(alistoragegetpoints alistoragegetpoints.cxx)
82 target_link_libraries(alistoragegetpoints MONITOR MONITORzmq XMLIO)
83 if(PYTHIA6)
84     target_link_libraries(alistoragegetpoints EVGEN HepMC HepMCParser)
85 endif(PYTHIA6)
86
87 # Installation
88 install(TARGETS alistoragegetpoints RUNTIME DESTINATION bin)