AliHLTJET module
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTJET.pkg
CommitLineData
7330f0e5 1# -*- mode: CMake -*-
947b5ea7 2# $Id$
6db31708 3#--------------------------------------------------------------------------------#
4# Package File for AliHLTJET #
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
947b5ea7 30set ( CLASS_HDRS
31 AliHLTJETAgent.h
32 AliHLTJETBase.h
33 AliHLTJETTrackCuts.h
34 AliHLTJETJetCuts.h
35 AliHLTJETReader.h
36 AliHLTJETReaderHeader.h
37 cone/AliHLTJETConeGrid.h
38 cone/AliHLTJETConeEtaPhiCell.h
39 cone/AliHLTJETConeSeedCuts.h
40 cone/AliHLTJETConeJetCandidate.h
41 cone/AliHLTJETConeHeader.h
42 cone/AliHLTJETConeFinder.h
43 cone/AliHLTJETConeJetComponent.h
44 analysis/AliHLTJETAnalysisBase.h
45 analysis/AliHLTJETAnalysisJets.h
46 analysis/AliHLTJETAnalysisMerge.h
47 analysis/AliHLTJETAnalysisComponent.h
48 )
6db31708 49
50set ( CLASS_HDRS_FJ fastjet/AliHLTJETFastJetHeader.h fastjet/AliHLTJETFastJetFinder.h fastjet/AliHLTJETFastJetComponent.h)
51
f0c10128 52# Quick fix 20-March-2014; disable fastjet
53# include ("JET/CMakejet.conf")
6db31708 54
55string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
56
57set ( MODULE_HDRS ${CLASS_HDRS})
58
59set ( MODULE_DHDR )
60
7330f0e5 61set ( EINCLUDE HLT/BASE HLT/BASE/util HLT/JET HLT/JET/cone HLT/JET/fastjet HLT/JET/analysis ANALYSIS JETAN STEER/AOD STEER/ESD STEER/STEERBase)
6db31708 62
947b5ea7 63set ( ELIBS "HLTbase AliHLTUtil ESD STEER STEERBase AOD ESD ANALYSIS ANALYSISalice JETAN -lEG")
64
65set ( ELIBSDIR "${ROOTLIBDIR}" )
6db31708 66
67include ("CMakehlt.conf")
68
69if (MODULE_SRCS)
70ALICE_Format (SRCS "JET/" "" "${MODULE_SRCS}")
71endif(MODULE_SRCS)
72if (CLASS_HDRS)
73ALICE_Format (CINTHDRS "JET/" "" "${CLASS_HDRS}")
74endif(CLASS_HDRS)
75if (MODULE_HDRS)
76ALICE_Format (HDRS "JET/" "" "${MODULE_HDRS}")
77endif(MODULE_HDRS)
78if (MODULE_DHDR)
79ALICE_Format (DHDR "JET/" "" "${MODULE_DHDR}")
80endif(MODULE_DHDR)
81
82if(NOT DHDR)
83 set(CINTAUTOLINK 1)
84endif(NOT DHDR)
85
86set ( EDEFINE "${HLTDEFS} ${HLTDEF_FASTJET} ${HLTCXXFLAGS_FASTJET}")
87set ( PACKCXXFLAGS "${HLTCXXFLAGS} ${HLTCXXFLAGS_FASTJET}")
88set ( PACKCFLAGS ${HLTCLFAGS})
89set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
90set ( PACKSOFLAGS "${HLTSOFLAGS_FASTJET} ${HLTSOFLAGS}")