Changes in external/ExRootAnalysis/CMakeLists.txt [0feae05:82cf9c4] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/ExRootAnalysis/CMakeLists.txt
r0feae05 r82cf9c4 6 6 file(GLOB sources *.cc) 7 7 file(GLOB headers *.h) 8 9 8 list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ExRootAnalysisLinkDef.h) 10 9 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() 10 DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict ${headers} LINKDEF ExRootAnalysisLinkDef.h) 29 11 30 12 add_library(ExRootAnalysis OBJECT ${sources} ExRootAnalysisDict.cxx) 31 13 32 # install headers 33 install(FILES ${headers} DESTINATION include/ExRootAnalysis) 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) 34 20 35 21 # install pcms if they are created
Note:
See TracChangeset
for help on using the changeset viewer.