Fork me on GitHub

source: git/modules/CMakeLists.txt@ 0264da8

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 0264da8 was be6c1c8, checked in by Pavel Demin <pavel.demin@…>, 10 years ago

adapt CMake files to ROOT 6

  • Property mode set to 100644
File size: 558 bytes
RevLine 
[7fe06d6]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}/ModulesLinkDef.h)
10list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/Pythia8LinkDef.h)
11
[be6c1c8]12DELPHES_GENERATE_DICTIONARY(ModulesDict ${headers} LINKDEF ModulesLinkDef.h)
[7fe06d6]13
14# TODO: implement switch to enable Pythia8 if present
15list(REMOVE_ITEM sources ${CMAKE_CURRENT_SOURCE_DIR}/PileUpMergerPythia8.cc)
16
17add_library(modules OBJECT ${sources} ModulesDict.cxx)
Note: See TracBrowser for help on using the repository browser.