Fork me on GitHub

source: git/modules/CMakeLists.txt@ 255a666

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 255a666 was 255a666, checked in by Pavel Demin <pavel.demin@…>, 8 years ago

add command installing Delphes.h to modules/CMakeLists.txt (close #1029)

  • Property mode set to 100644
File size: 801 bytes
Line 
1include_directories(
2 ${CMAKE_SOURCE_DIR}
3 ${ROOT_INCLUDE_DIRS}
4 ${DelphesExternals_INCLUDE_DIR}
5)
6
7file(GLOB sources *.cc)
8file(GLOB headers *.h)
9list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/FastJetLinkDef.h)
10list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ModulesLinkDef.h)
11list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/Pythia8LinkDef.h)
12
13DELPHES_GENERATE_DICTIONARY(FastJetDict ${headers} LINKDEF FastJetLinkDef.h)
14DELPHES_GENERATE_DICTIONARY(ModulesDict ${headers} LINKDEF ModulesLinkDef.h)
15
16# TODO: implement switch to enable Pythia8 if present
17list(REMOVE_ITEM sources ${CMAKE_CURRENT_SOURCE_DIR}/PileUpMergerPythia8.cc)
18
19add_library(modules OBJECT ${sources} FastJetDict.cxx ModulesDict.cxx)
20
21# install public headers
22install(FILES Delphes.h DESTINATION include/modules)
Note: See TracBrowser for help on using the repository browser.