ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since e0c1ff0 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:
633 bytes
|
Rev | Line | |
---|
[7fe06d6] | 1 | include_directories(
|
---|
| 2 | ${CMAKE_SOURCE_DIR}
|
---|
| 3 | ${DelphesExternals_INCLUDE_DIR}
|
---|
| 4 | )
|
---|
| 5 |
|
---|
| 6 | file(GLOB executables RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)
|
---|
| 7 |
|
---|
[be6c1c8] | 8 | # TODO: implement switch to enable CMSSW, ProMC and Pythia8 if present
|
---|
| 9 | list(REMOVE_ITEM executables DelphesCMSFWLite.cpp)
|
---|
| 10 | list(REMOVE_ITEM executables DelphesProMC.cpp)
|
---|
| 11 | list(REMOVE_ITEM executables DelphesPythia8.cpp)
|
---|
[7fe06d6] | 12 |
|
---|
| 13 | # build all executables and put them into bin/
|
---|
| 14 | foreach(sourcefile ${executables})
|
---|
| 15 | string(REPLACE ".cpp" "" name ${sourcefile})
|
---|
| 16 | add_executable(${name} ${sourcefile})
|
---|
| 17 | target_link_libraries(${name} Delphes)
|
---|
| 18 | install(TARGETS ${name} DESTINATION bin)
|
---|
| 19 | endforeach()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.