Fork me on GitHub

source: git/display/CMakeLists.txt@ 102596a

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 102596a was 102596a, checked in by Pavel Demin <pavel-demin@…>, 8 years ago

add DelphesDisplay target to CMakeLists.txt

  • Property mode set to 100644
File size: 646 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}/DisplayLinkDef.h)
10
11DELPHES_GENERATE_DICTIONARY(DisplayDict ${headers} LINKDEF DisplayLinkDef.h)
12
13add_library(display OBJECT ${sources} DisplayDict.cxx)
14
15# install public headers
16install(FILES
17 Delphes3DGeometry.h
18 DelphesEventDisplay.h
19DESTINATION include/display)
20
21# install pcms if they are created
22if (${ROOT_VERSION} GREATER 6)
23 install(FILES
24 ${PROJECT_BINARY_DIR}/display/libDisplayDict_rdict.pcm
25 DESTINATION lib)
26endif()
Note: See TracBrowser for help on using the repository browser.