Changes in external/ExRootAnalysis/CMakeLists.txt [82cf9c4:0feae05] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/ExRootAnalysis/CMakeLists.txt
r82cf9c4 r0feae05 6 6 file(GLOB sources *.cc) 7 7 file(GLOB headers *.h) 8 8 9 list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ExRootAnalysisLinkDef.h) 9 10 10 DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict ${headers} LINKDEF ExRootAnalysisLinkDef.h) 11 # the macro invocation for ROOT6 ensures that the headers are relocatable 12 if (NOT ${ROOT_VERSION} VERSION_LESS "6.0.0") 13 DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict 14 ExRootAnalysis/ExRootClassifier.h 15 ExRootAnalysis/ExRootConfReader.h 16 ExRootAnalysis/ExRootFilter.h 17 ExRootAnalysis/ExRootProgressBar.h 18 ExRootAnalysis/ExRootResult.h 19 ExRootAnalysis/ExRootTask.h 20 ExRootAnalysis/ExRootTreeBranch.h 21 ExRootAnalysis/ExRootTreeReader.h 22 ExRootAnalysis/ExRootTreeWriter.h 23 ExRootAnalysis/ExRootUtilities.h 24 LINKDEF ExRootAnalysisLinkDef.h) 25 else() 26 # for ROOT5 the above fails, keep the following as workaround 27 DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict ${headers} LINKDEF ExRootAnalysisLinkDef.h) 28 endif() 11 29 12 30 add_library(ExRootAnalysis OBJECT ${sources} ExRootAnalysisDict.cxx) 13 31 14 # install headers needed by public Delphes headers to include/ 15 install(FILES ExRootTask.h ExRootConfReader.h ExRootTreeWriter.h ExRootTreeBranch.h 16 DESTINATION include/ExRootAnalysis) 17 18 # install all LinkDef files into the same folder to ease user environment 19 install(FILES ExRootAnalysisLinkDef.h DESTINATION include) 32 # install headers 33 install(FILES ${headers} DESTINATION include/ExRootAnalysis) 20 34 21 35 # install pcms if they are created
Note:
See TracChangeset
for help on using the changeset viewer.