]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/alistoragemanager/CMakeLists.txt
alistoragemanager: Install header files
[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 # Header files: set
44 set(HDRS
45     AliStorageTypes.h
46    )
47
48 # Header files: install
49 install(FILES ${HDRS} DESTINATION include)
50
51 # alistorageadmin executable
52 add_executable(alistorageadmin alistorageadmin.cxx)
53 target_link_libraries(alistorageadmin MONITOR MONITORzmq)
54 if(PYTHIA6)
55     target_link_libraries(alistorageadmin EVGEN HepMC HepMCParser)
56 endif(PYTHIA6)
57
58 # Installation
59 install(TARGETS alistorageadmin RUNTIME DESTINATION bin)
60
61
62 # alifakedisplay executable
63 add_executable(alifakedisplay alifakedisplay.cxx)
64 target_link_libraries(alifakedisplay MONITOR MONITORzmq)
65 if(PYTHIA6)
66     target_link_libraries(alifakedisplay EVGEN HepMC HepMCParser)
67 endif(PYTHIA6)
68
69 # Installation
70 install(TARGETS alifakedisplay RUNTIME DESTINATION bin)
71
72
73 # alistorageminimalexample executable
74 add_executable(alistorageminimalexample alistorageminimalexample.cxx)
75 target_link_libraries(alistorageminimalexample MONITOR MONITORzmq)
76 if(PYTHIA6)
77     target_link_libraries(alistorageminimalexample EVGEN HepMC HepMCParser)
78 endif(PYTHIA6)
79
80 # Installation
81 install(TARGETS alistorageminimalexample RUNTIME DESTINATION bin)
82
83
84 # alistoragegetpoints executable
85 add_executable(alistoragegetpoints alistoragegetpoints.cxx)
86 target_link_libraries(alistoragegetpoints MONITOR MONITORzmq XMLIO)
87 if(PYTHIA6)
88     target_link_libraries(alistoragegetpoints EVGEN HepMC HepMCParser)
89 endif(PYTHIA6)
90
91 # Installation
92 install(TARGETS alistoragegetpoints RUNTIME DESTINATION bin)