Changes in / [cd7aa16:3cfe61d] in git
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/CMakeLists.txt
rcd7aa16 r3cfe61d 9 9 list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ClassesLinkDef.h) 10 10 11 DELPHES_GENERATE_DICTIONARY(ClassesDict 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(ClassesDict 14 classes/DelphesModule.h 15 classes/DelphesFactory.h 16 classes/SortableObject.h 17 classes/DelphesClasses.h 18 LINKDEF ClassesLinkDef.h 19 ) 20 else() 21 # for ROOT5 the above fails, keep the following as workaround 22 DELPHES_GENERATE_DICTIONARY(ClassesDict 12 23 ${CMAKE_CURRENT_SOURCE_DIR}/DelphesModule.h 13 24 ${CMAKE_CURRENT_SOURCE_DIR}/DelphesFactory.h 14 25 ${CMAKE_CURRENT_SOURCE_DIR}/SortableObject.h 15 26 ${CMAKE_CURRENT_SOURCE_DIR}/DelphesClasses.h 16 LINKDEF ClassesLinkDef.h 17 ) 27 LINKDEF ClassesLinkDef.h 28 ) 29 endif() 18 30 19 31 add_library(classes OBJECT ${sources} ClassesDict.cxx) -
external/ExRootAnalysis/CMakeLists.txt
rcd7aa16 r3cfe61d 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)
Note:
See TracChangeset
for help on using the changeset viewer.