Fork me on GitHub

source: git/display/CMakeLists.txt@ 9c2ce8b

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

install headers required by libDelphes and libDelphesDisplay

  • Property mode set to 100644
File size: 604 bytes
RevLine 
[7fe06d6]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
[be6c1c8]11DELPHES_GENERATE_DICTIONARY(DisplayDict ${headers} LINKDEF DisplayLinkDef.h)
[7fe06d6]12
13add_library(display OBJECT ${sources} DisplayDict.cxx)
[0f5bf9d]14
[9259bfe]15# install headers
16install(FILES ${headers} DESTINATION include/display)
[102596a]17
[0f5bf9d]18# install pcms if they are created
19if (${ROOT_VERSION} GREATER 6)
20 install(FILES
[781e3118]21 ${PROJECT_BINARY_DIR}/display/libDisplayDict_rdict.pcm
[0f5bf9d]22 DESTINATION lib)
23endif()
Note: See TracBrowser for help on using the repository browser.