]>
Commit | Line | Data |
---|---|---|
1 | # -*- mode: CMake -*- | |
2 | # $Id$ | |
3 | #--------------------------------------------------------------------------------# | |
4 | # Package File for AliHLTGlobal # | |
5 | # Author : Johny Jose (johny.jose@cern.ch) # | |
6 | # Variables Defined : # | |
7 | # # | |
8 | # SRCS - C++ source files # | |
9 | # HDRS - C++ header files # | |
10 | # DHDR - ROOT Dictionary Linkdef header file # | |
11 | # CSRCS - C source files # | |
12 | # CHDRS - C header files # | |
13 | # EINCLUDE - Include directories # | |
14 | # EDEFINE - Compiler definitions # | |
15 | # ELIBS - Extra libraries to link # | |
16 | # ELIBSDIR - Extra library directories # | |
17 | # PACKFFLAGS - Fortran compiler flags for package # | |
18 | # PACKCXXFLAGS - C++ compiler flags for package # | |
19 | # PACKCFLAGS - C compiler flags for package # | |
20 | # PACKSOFLAGS - Shared library linking flags # | |
21 | # PACKLDFLAGS - Module linker flags # | |
22 | # PACKBLIBS - Libraries to link (Executables only) # | |
23 | # EXPORT - Header files to be exported # | |
24 | # CINTHDRS - Dictionary header files # | |
25 | # CINTAUTOLINK - Set automatic dictionary generation # | |
26 | # ARLIBS - Archive Libraries and objects for linking (Executables only) # | |
27 | # SHLIBS - Shared Libraries and objects for linking (Executables only) # | |
28 | #--------------------------------------------------------------------------------# | |
29 | ||
30 | set ( CLASS_HDRS | |
31 | AliHLTGlobalCompareFlatComponent.h | |
32 | AliHLTGlobalFlatEsdTestComponent.h | |
33 | AliHLTGlobalFlatEsdConverterComponent.h | |
34 | AliHLTGlobalEsdToFlatConverterComponent.h | |
35 | AliHLTGlobalEsdConverterComponent.h | |
36 | AliHLTGlobalTrackMergerComponent.h | |
37 | AliHLTGlobalTrackMerger.h | |
38 | AliHLTGlobalAgent.h | |
39 | AliHLTGlobalPreprocessor.h | |
40 | AliHLTGlobalDCSPublisherComponent.h | |
41 | AliHLTGlobalVertexerComponent.h | |
42 | AliHLTGlobalOfflineVertexerComponent.h | |
43 | AliHLTGlobalTrackMatcher.h | |
44 | AliHLTGlobalTrackMatcherComponent.h | |
45 | AliHLTGlobalVertexerHistoComponent.h | |
46 | AliHLTGlobalHistoComponent.h | |
47 | AliHLTGlobalHistoCollector.h | |
48 | AliHLTVertexFinderBase.h | |
49 | AliHLTPrimaryVertexFinderComponent.h | |
50 | AliHLTV0FinderComponent.h | |
51 | AliFlatESDEvent.h | |
52 | AliFlatESDVertex.h | |
53 | AliFlatESDTrigger.h | |
54 | AliFlatESDTrack.h | |
55 | AliFlatESDV0.h | |
56 | AliFlatESDFriend.h | |
57 | AliFlatESDFriendTrack.h | |
58 | AliFlatExternalTrackParam.h | |
59 | AliFlatTPCseed.h | |
60 | physics/AliHLTV0HistoComponent.h | |
61 | physics/AliHLTCaloHistoComponent.h | |
62 | physics/AliHLTCaloHistoProducer.h | |
63 | physics/AliHLTCaloHistoInvMass.h | |
64 | physics/AliHLTCaloHistoMatchedTracks.h | |
65 | physics/AliHLTCaloHistoClusterEnergy.h | |
66 | physics/AliHLTCaloHistoCellEnergy.h | |
67 | physics/AliHLTMultiplicityCorrelations.h | |
68 | physics/AliHLTMultiplicityCorrelationsComponent.h | |
69 | physics/AliHLTAnaManagerComponent.h | |
70 | physics/AliHLTFlatAnaManagerComponent.h | |
71 | ) | |
72 | ||
73 | string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" ) | |
74 | ||
75 | set ( MODULE_HDRS ${CLASS_HDRS}) | |
76 | ||
77 | set ( MODULE_DHDR ) | |
78 | ||
79 | set ( EINCLUDE HLT/global HLT/global/physics HLT/BASE HLT/BASE/util HLT/TPCLib TPC TPC/Rec RAW TRD PHOS STEER/ESD STEER/STEERBase ANALYSIS) | |
80 | ||
81 | set ( ELIBS "HLTbase AliHLTUtil CDB ESD STEER STEERBase TPCrec TPCcalib TPCbase RAWDatarec RAWDatabase TRDbase -lEG") | |
82 | ||
83 | set ( ELIBSDIR "${ROOTLIBDIR}" ) | |
84 | ||
85 | include ("CMakehlt.conf") | |
86 | ||
87 | if (MODULE_SRCS) | |
88 | ALICE_Format (SRCS "global/" "" "${MODULE_SRCS}") | |
89 | endif(MODULE_SRCS) | |
90 | if (CLASS_HDRS) | |
91 | ALICE_Format (CINTHDRS "global/" "" "${CLASS_HDRS}") | |
92 | endif(CLASS_HDRS) | |
93 | if (MODULE_HDRS) | |
94 | ALICE_Format (HDRS "global/" "" "${MODULE_HDRS}") | |
95 | endif(MODULE_HDRS) | |
96 | if (MODULE_DHDR) | |
97 | ALICE_Format (DHDR "global/" "" "${MODULE_DHDR}") | |
98 | endif(MODULE_DHDR) | |
99 | ||
100 | if(NOT DHDR) | |
101 | set(CINTAUTOLINK 1) | |
102 | endif(NOT DHDR) | |
103 | ||
104 | set ( EDEFINE ${HLTDEFS}) | |
105 | set ( PACKCXXFLAGS ${HLTCXXFLAGS}) | |
106 | set ( PACKCFLAGS ${HLTCLFAGS}) | |
107 | set ( PACKDCXXFLAGS ${HLTDCXXFLAGS}) | |
108 | set ( PACKSOFLAGS ${HLTSOFLAGS}) |