ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since 94083e7 was 2ede24b, checked in by Pavel Demin <pavel-demin@…>, 6 years ago |
update comment in readers/CMakeLists.txt
|
-
Property mode
set to
100644
|
File size:
656 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 |
|
---|
[2ede24b] | 8 | # TODO: implement switch to enable CMSSW and ProMC if present
|
---|
[be6c1c8] | 9 | list(REMOVE_ITEM executables DelphesCMSFWLite.cpp)
|
---|
| 10 | list(REMOVE_ITEM executables DelphesProMC.cpp)
|
---|
[3283d6e] | 11 | if(NOT PYTHIA8_FOUND)
|
---|
| 12 | list(REMOVE_ITEM executables DelphesPythia8.cpp)
|
---|
| 13 | endif()
|
---|
[7fe06d6] | 14 |
|
---|
| 15 | # build all executables and put them into bin/
|
---|
| 16 | foreach(sourcefile ${executables})
|
---|
| 17 | string(REPLACE ".cpp" "" name ${sourcefile})
|
---|
| 18 | add_executable(${name} ${sourcefile})
|
---|
| 19 | target_link_libraries(${name} Delphes)
|
---|
| 20 | install(TARGETS ${name} DESTINATION bin)
|
---|
| 21 | endforeach()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.