Fork me on GitHub

source: git/modules/CMakeLists.txt@ dacd9c5

ImprovedOutputFile Timing dual_readout llp
Last change on this file since dacd9c5 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
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}/ModulesLinkDef.h)
10list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/Pythia8LinkDef.h)
11
12DELPHES_GENERATE_DICTIONARY(ModulesDict ${headers} LINKDEF ModulesLinkDef.h)
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.