Completely reengineered version of CMake build system (Johny)
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTJET.pkg
1 #--------------------------------------------------------------------------------#
2 # Package File for AliHLTJET                                                     #
3 # Author : Johny Jose (johny.jose@cern.ch)                                       #
4 # Variables Defined :                                                            #
5 #                                                                                #
6 # SRCS - C++ source files                                                        #
7 # HDRS - C++ header files                                                        #
8 # DHDR - ROOT Dictionary Linkdef header file                                     #
9 # CSRCS - C source files                                                         #
10 # CHDRS - C header files                                                         #
11 # EINCLUDE - Include directories                                                 #
12 # EDEFINE - Compiler definitions                                                 #
13 # ELIBS - Extra libraries to link                                                #
14 # ELIBSDIR - Extra library directories                                           #
15 # PACKFFLAGS - Fortran compiler flags for package                                #
16 # PACKCXXFLAGS - C++ compiler flags for package                                  #
17 # PACKCFLAGS - C compiler flags for package                                      #
18 # PACKSOFLAGS - Shared library linking flags                                     #
19 # PACKLDFLAGS - Module linker flags                                              #
20 # PACKBLIBS - Libraries to link (Executables only)                               #
21 # EXPORT - Header files to be exported                                           #
22 # CINTHDRS - Dictionary header files                                             #
23 # CINTAUTOLINK - Set automatic dictionary generation                             #
24 # ARLIBS - Archive Libraries and objects for linking (Executables only)          #
25 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
26 #--------------------------------------------------------------------------------#
27
28 set ( CLASS_HDRS        AliHLTJETAgent.h AliHLTJETBase.h AliHLTJETTrackCuts.h AliHLTJETJetCuts.h AliHLTJETReader.h AliHLTJETReaderHeader.h cone/AliHLTJETConeGrid.h cone/AliHLTJETConeEtaPhiCell.h cone/AliHLTJETConeSeedCuts.h cone/AliHLTJETConeJetCandidate.h cone/AliHLTJETConeHeader.h cone/AliHLTJETConeFinder.h cone/AliHLTJETConeJetComponent.h analysis/AliHLTJETAnalysisBase.h analysis/AliHLTJETAnalysisJets.h analysis/AliHLTJETAnalysisMerge.h analysis/AliHLTJETAnalysisComponent.h)
29
30 set ( CLASS_HDRS_FJ     fastjet/AliHLTJETFastJetHeader.h fastjet/AliHLTJETFastJetFinder.h fastjet/AliHLTJETFastJetComponent.h)
31
32 include ("JET/CMakejet.conf")
33
34 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
35
36 set ( MODULE_HDRS       ${CLASS_HDRS})
37
38 set ( MODULE_DHDR )
39
40 set ( EINCLUDE  HLT/BASE HLT/BASE/util HLT/JET HLT/JET/cone HLT/JET/fastjet HLT/JET/analysis ANALYSIS JETAN STEER)
41
42 set ( LIBRARY_DEP       -lHLTbase -lAliHLTUtil -lESD -lSTEER -lSTEERBase -lAOD -lESD -lANALYSIS -lANALYSISalice -lJETAN -L${ROOTLIBDIR} -lEG)
43
44 include ("CMakehlt.conf")
45
46 if (MODULE_SRCS)
47 ALICE_Format (SRCS "JET/" "" "${MODULE_SRCS}")
48 endif(MODULE_SRCS)
49 if (CLASS_HDRS)
50 ALICE_Format (CINTHDRS "JET/" "" "${CLASS_HDRS}")
51 endif(CLASS_HDRS)
52 if (MODULE_HDRS)
53 ALICE_Format (HDRS "JET/" "" "${MODULE_HDRS}")
54 endif(MODULE_HDRS)
55 if (MODULE_DHDR)
56 ALICE_Format (DHDR "JET/" "" "${MODULE_DHDR}")
57 endif(MODULE_DHDR)
58
59 if(NOT DHDR)
60   set(CINTAUTOLINK 1)
61 endif(NOT DHDR)
62
63 set ( EDEFINE   "${HLTDEFS} ${HLTDEF_FASTJET} ${HLTCXXFLAGS_FASTJET}")
64 set ( PACKCXXFLAGS      "${HLTCXXFLAGS} ${HLTCXXFLAGS_FASTJET}")
65 set ( PACKCFLAGS        ${HLTCLFAGS})
66 set ( PACKDCXXFLAGS     ${HLTDCXXFLAGS})
67 set ( PACKSOFLAGS "${HLTSOFLAGS_FASTJET} ${HLTSOFLAGS}")