ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since 3b99510 was 7fe06d6, checked in by Pavel Demin <pavel.demin@…>, 10 years ago |
add CMake files
|
-
Property mode
set to
100644
|
File size:
555 bytes
|
Line | |
---|
1 | include_directories(
|
---|
2 | ${CMAKE_SOURCE_DIR}
|
---|
3 | ${DelphesExternals_INCLUDE_DIR}
|
---|
4 | )
|
---|
5 |
|
---|
6 | file(GLOB executables RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)
|
---|
7 | file(GLOB macros *.C *.tcl *.tfs)
|
---|
8 |
|
---|
9 | # build all executables and put them into bin/
|
---|
10 | foreach(sourcefile ${executables})
|
---|
11 | string(REPLACE ".cpp" "" name ${sourcefile})
|
---|
12 | add_executable(${name} ${sourcefile})
|
---|
13 | target_link_libraries(${name} Delphes)
|
---|
14 | install(TARGETS ${name} DESTINATION bin)
|
---|
15 | endforeach()
|
---|
16 |
|
---|
17 | # take all other relevant files and put them into examples/
|
---|
18 | install(FILES ${macros} DESTINATION examples)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.