Completely reengineered version of CMake build system (Johny)
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTJET.pkg
CommitLineData
6db31708 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
28set ( 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
30set ( CLASS_HDRS_FJ fastjet/AliHLTJETFastJetHeader.h fastjet/AliHLTJETFastJetFinder.h fastjet/AliHLTJETFastJetComponent.h)
31
32include ("JET/CMakejet.conf")
33
34string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
35
36set ( MODULE_HDRS ${CLASS_HDRS})
37
38set ( MODULE_DHDR )
39
40set ( EINCLUDE HLT/BASE HLT/BASE/util HLT/JET HLT/JET/cone HLT/JET/fastjet HLT/JET/analysis ANALYSIS JETAN STEER)
41
42set ( LIBRARY_DEP -lHLTbase -lAliHLTUtil -lESD -lSTEER -lSTEERBase -lAOD -lESD -lANALYSIS -lANALYSISalice -lJETAN -L${ROOTLIBDIR} -lEG)
43
44include ("CMakehlt.conf")
45
46if (MODULE_SRCS)
47ALICE_Format (SRCS "JET/" "" "${MODULE_SRCS}")
48endif(MODULE_SRCS)
49if (CLASS_HDRS)
50ALICE_Format (CINTHDRS "JET/" "" "${CLASS_HDRS}")
51endif(CLASS_HDRS)
52if (MODULE_HDRS)
53ALICE_Format (HDRS "JET/" "" "${MODULE_HDRS}")
54endif(MODULE_HDRS)
55if (MODULE_DHDR)
56ALICE_Format (DHDR "JET/" "" "${MODULE_DHDR}")
57endif(MODULE_DHDR)
58
59if(NOT DHDR)
60 set(CINTAUTOLINK 1)
61endif(NOT DHDR)
62
63set ( EDEFINE "${HLTDEFS} ${HLTDEF_FASTJET} ${HLTCXXFLAGS_FASTJET}")
64set ( PACKCXXFLAGS "${HLTCXXFLAGS} ${HLTCXXFLAGS_FASTJET}")
65set ( PACKCFLAGS ${HLTCLFAGS})
66set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
67set ( PACKSOFLAGS "${HLTSOFLAGS_FASTJET} ${HLTSOFLAGS}")