Last change
on this file since e83faed was 66b8143, checked in by JP-Ellis <josh@…>, 8 years ago |
Install all headers from display/
Also take the opportunity to install the other LinkDef headers, and the
installation of ExRootAnalysis header.
Signed-off-by: JP-Ellis <josh@…>
|
-
Property mode
set to
100644
|
File size:
738 bytes
|
Rev | Line | |
---|
[7fe06d6] | 1 | include_directories(
|
---|
| 2 | ${CMAKE_SOURCE_DIR}
|
---|
| 3 | ${ROOT_INCLUDE_DIRS}
|
---|
| 4 | ${DelphesExternals_INCLUDE_DIR}
|
---|
| 5 | )
|
---|
| 6 |
|
---|
| 7 | file(GLOB sources *.cc)
|
---|
| 8 | file(GLOB headers *.h)
|
---|
| 9 | list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/DisplayLinkDef.h)
|
---|
| 10 |
|
---|
[be6c1c8] | 11 | DELPHES_GENERATE_DICTIONARY(DisplayDict ${headers} LINKDEF DisplayLinkDef.h)
|
---|
[7fe06d6] | 12 |
|
---|
| 13 | add_library(display OBJECT ${sources} DisplayDict.cxx)
|
---|
[0f5bf9d] | 14 |
|
---|
[66b8143] | 15 | # install public headers
|
---|
| 16 | install(FILES ${headers} DESTINATION include/display)
|
---|
| 17 |
|
---|
| 18 | # install all LinkDef files into the same folder to ease user environment
|
---|
| 19 | install(FILES DisplayLinkDef.h DESTINATION include)
|
---|
| 20 |
|
---|
[0f5bf9d] | 21 | # install pcms if they are created
|
---|
| 22 | if (${ROOT_VERSION} GREATER 6)
|
---|
| 23 | install(FILES
|
---|
[781e3118] | 24 | ${PROJECT_BINARY_DIR}/display/libDisplayDict_rdict.pcm
|
---|
[0f5bf9d] | 25 | DESTINATION lib)
|
---|
| 26 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.