MONITOR with ZMQ
[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 if(DIMDIR AND ODIR)
30     link_directories(${DIMDIR}/${ODIR})
31 endif()
32
33 # alistorage executable
34 add_executable(alistorage alistorage.cxx)
35 target_link_libraries(alistorage MONITOR MONITORzmq)
36 if(PYTHIA6)
37     target_link_libraries(alistorage EVGEN HepMC HepMCParser)
38 endif(PYTHIA6)
39
40 # Installation
41 install(TARGETS alistorage RUNTIME DESTINATION bin)
42
43
44 # alistorageadmin executable
45 add_executable(alistorageadmin alistorageadmin.cxx)
46 target_link_libraries(alistorageadmin MONITOR MONITORzmq)
47 if(PYTHIA6)
48     target_link_libraries(alistorageadmin EVGEN HepMC HepMCParser)
49 endif(PYTHIA6)
50
51 # Installation
52 install(TARGETS alistorageadmin RUNTIME DESTINATION bin)
53
54
55 # alifakedisplay executable
56 add_executable(alifakedisplay alifakedisplay.cxx)
57 target_link_libraries(alifakedisplay MONITOR MONITORzmq)
58 if(PYTHIA6)
59     target_link_libraries(alifakedisplay EVGEN HepMC HepMCParser)
60 endif(PYTHIA6)
61
62 # Installation
63 install(TARGETS alifakedisplay RUNTIME DESTINATION bin)
64
65
66 # alistorageminimalexample executable
67 add_executable(alistorageminimalexample alistorageminimalexample.cxx)
68 target_link_libraries(alistorageminimalexample MONITOR MONITORzmq)
69 if(PYTHIA6)
70     target_link_libraries(alistorageminimalexample EVGEN HepMC HepMCParser)
71 endif(PYTHIA6)
72
73 # Installation
74 install(TARGETS alistorageminimalexample RUNTIME DESTINATION bin)
75
76
77 # alistoragegetpoints executable
78 add_executable(alistoragegetpoints alistoragegetpoints.cxx)
79 target_link_libraries(alistoragegetpoints MONITOR MONITORzmq XMLIO)
80 if(PYTHIA6)
81     target_link_libraries(alistoragegetpoints EVGEN HepMC HepMCParser)
82 endif(PYTHIA6)
83
84 # Installation
85 install(TARGETS alistoragegetpoints RUNTIME DESTINATION bin)