Preliminary files for CMake
[u/mrichter/AliRoot.git] / HLT / CMakeLists.txt
1 # -*- mode: cmake -*-
2 # Create a library called "lib<name>" which includes the source files given in
3 # the array .
4 # The extension is already found.  Any number of sources could be listed here.
5
6 set(INCLUDE_DIRECTORIES
7 ${CMAKE_SOURCE_DIR}/EMCAL
8 ${CMAKE_SOURCE_DIR}/HLT
9 ${CMAKE_SOURCE_DIR}/HLT/BASE
10 ${CMAKE_SOURCE_DIR}/HLT/BASE/HOMER
11 ${CMAKE_SOURCE_DIR}/HLT/BASE/interface
12 ${CMAKE_SOURCE_DIR}/HLT/BASE/util
13 ${CMAKE_SOURCE_DIR}/HLT/EMCAL
14 ${CMAKE_SOURCE_DIR}/HLT/ITS
15 ${CMAKE_SOURCE_DIR}/HLT/MUON
16 ${CMAKE_SOURCE_DIR}/HLT/MUON/OfflineInterface
17 ${CMAKE_SOURCE_DIR}/HLT/MUON/OnlineAnalysis
18 ${CMAKE_SOURCE_DIR}/HLT/MUON/utils
19 ${CMAKE_SOURCE_DIR}/HLT/PHOS
20 ${CMAKE_SOURCE_DIR}/HLT/RCU
21 ${CMAKE_SOURCE_DIR}/HLT/SampleLib
22 ${CMAKE_SOURCE_DIR}/HLT/TPCLib
23 ${CMAKE_SOURCE_DIR}/HLT/TPCLib/comp
24 ${CMAKE_SOURCE_DIR}/HLT/TPCLib/offline
25 ${CMAKE_SOURCE_DIR}/HLT/TPCLib/tracking-ca
26 ${CMAKE_SOURCE_DIR}/HLT/TRD
27 ${CMAKE_SOURCE_DIR}/HLT/comp
28 ${CMAKE_SOURCE_DIR}/HLT/offline
29 ${CMAKE_SOURCE_DIR}/HLT/rec
30 ${CMAKE_SOURCE_DIR}/HLT/shuttle
31 ${CMAKE_SOURCE_DIR}/HLT/sim
32 ${CMAKE_SOURCE_DIR}/HLT/tracking-ca
33 ${CMAKE_SOURCE_DIR}/HLT/trigger
34 ${CMAKE_SOURCE_DIR}/ITS
35 ${CMAKE_SOURCE_DIR}/MUON
36 ${CMAKE_SOURCE_DIR}/MUON/mapping
37 ${CMAKE_SOURCE_DIR}/PHOS
38 ${CMAKE_SOURCE_DIR}/RAW
39 ${CMAKE_SOURCE_DIR}/STEER
40 ${CMAKE_SOURCE_DIR}/TPC
41 ${CMAKE_SOURCE_DIR}/TRD
42 ${ROOT_INCLUDE_DIR}
43 )
44
45 include_directories( ${INCLUDE_DIRECTORIES})
46
47 set(LINK_DIRECTORIES
48 ${ROOT_LIBRARY_DIR}
49
50
51 link_directories( ${LINK_DIRECTORIES})
52
53 ADD_DEFINITIONS(-Duse_aliroot -Duse_root -DROWHOUGHPARAMS -Duse_reconstruction -Duse_newio -DROOTVERSION=\"unchecked\" -DALIROOTVERSION=\"unchecked\" -D__ROOT__ -DUSE_ALILOG -DLINUX -DLIBHLTSIM_VERSION=0)
54
55 SetModule()
56
57 Include(CMake_libAliHLTHOMER.txt)
58
59 Include(CMake_libHLTinterface.txt)
60
61 Include(CMake_libAliHLTUtil.txt)
62
63 Include(CMake_libAliHLTSample.txt)
64
65 Include(CMake_libAliHLTRCU.txt)
66
67 Include(CMake_libHLTshuttle.txt)
68
69 Include(CMake_libAliHLTTrigger.txt)
70
71 Include(CMake_libAliHLTMUON.txt)
72
73 Include(CMake_libHLTrec.txt)
74
75 Include(CMake_libHLTbase.txt)
76
77 Include(CMake_libAliHLTTPC.txt)
78
79 Include(CMake_libAliHLTTRD.txt)
80
81 Include(CMake_libAliHLTComp.txt)
82
83 Include(CMake_libAliHLTITS.txt)
84
85 Include(CMake_libHLTsim.txt)
86
87 Include(CMake_libAliHLTPHOS.txt)
88
89 Include(CMake_libAliHLTEMCAL.txt)
90
91 Include(CMake_bindHLTdumpraw.txt)
92