avoid compilation warnings when adding selection macros
[u/mrichter/AliRoot.git] / JETAN / CMake_libJETAN.txt
1 # -*- mode: cmake -*-
2
3 set(SRCS
4         AliJet.cxx AliJetHeader.cxx 
5         AliJetFinder.cxx AliJetReaderHeader.cxx 
6         AliJetESDReaderHeader.cxx AliJetReader.cxx AliJetESDReader.cxx 
7         AliJetControlPlots.cxx AliUA1JetHeader.cxx 
8         AliLeading.cxx 
9         AliJetProductionData.cxx AliJetProductionDataPDC2004.cxx 
10         AliJetAnalysis.cxx AliJetDistributions.cxx 
11         AliUA1JetFinderV1.cxx AliUA1JetFinderV2.cxx AliUA1JetHeaderV1.cxx 
12         AliJetGrid.cxx AliJetUnitArray.cxx AliJetHadronCorrection.cxx 
13         AliJetHadronCorrectionv0.cxx AliJetHadronCorrectionv1.cxx 
14         AliJetFillUnitArrayTracks.cxx AliJetFillUnitArrayEMCalDigits.cxx
15         AliJetDummyGeo.cxx AliJetDummyShishKebabTrd1Module.cxx
16         AliJetFinderTypes.cxx 
17         AliAnalysisTaskJets.cxx 
18         AliDAJetFinder.cxx 
19         AliDAJetHeader.cxx 
20         AliJetAODReader.cxx 
21         AliJetAODReaderHeader.cxx 
22         AliJetKineReader.cxx 
23         AliJetKineReaderHeader.cxx 
24         AliJetMCReader.cxx 
25         AliJetMCReaderHeader.cxx 
26         AliJetHistos.cxx 
27         AliAnalysisTaskDiJets.cxx 
28         AliAnalysisTaskJetsCDF.cxx AliCdfJetFinder.cxx AliCdfJetHeader.cxx
29         AliEventShape.cxx
30 )
31
32 Set(FASTJET $ENV{FASTJET})
33
34 If(FASTJET)
35   set(SRCS ${SRCS}
36   AliFastJetFinder.cxx AliFastJetHeaderV1.cxx 
37   AliSISConeJetFinder.cxx AliSISConeJetHeader.cxx
38 )
39   include_directories( ${INCLUDE_DIRECTORIES} ${FASTJET}/include )
40   set_source_files_properties(${SRCS} PROPERTIES COMPILE_FLAGS -DWITHFASTJET)
41 endIf(FASTJET)
42
43
44 # fill list of header files from list of source files
45 # by exchanging the file extension
46 String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
47
48 AddLibrary(JETAN "${SRCS}" "${HDRS}")