Fork me on GitHub

source: git/converters/CMakeLists.txt@ 239e1d0

ImprovedOutputFile Timing dual_readout llp 3.3.3pre11
Last change on this file since 239e1d0 was 7fe06d6, checked in by Pavel Demin <pavel.demin@…>, 10 years ago

add CMake files

  • Property mode set to 100644
File size: 400 bytes
Line 
1include_directories(
2 ${CMAKE_SOURCE_DIR}
3 ${DelphesExternals_INCLUDE_DIR}
4)
5
6# add all executables as targets
7file(GLOB executables RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)
8
9foreach(sourcefile ${executables})
10 string(REPLACE ".cpp" "" name ${sourcefile})
11 add_executable(${name} ${sourcefile})
12 target_link_libraries(${name} Delphes)
13 install(TARGETS ${name} DESTINATION bin)
14endforeach()
Note: See TracBrowser for help on using the repository browser.