ImprovedOutputFile
Timing
llp
Last change
on this file since 341014c was 0ac1afd, checked in by GitHub <noreply@…>, 8 years ago |
Merge pull request #39 from jlingema/master
Correctly check ROOT version
|
-
Property mode
set to
100644
|
File size:
619 bytes
|
Line | |
---|
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 |
|
---|
11 | DELPHES_GENERATE_DICTIONARY(DisplayDict ${headers} LINKDEF DisplayLinkDef.h)
|
---|
12 |
|
---|
13 | add_library(display OBJECT ${sources} DisplayDict.cxx)
|
---|
14 |
|
---|
15 | # install headers
|
---|
16 | install(FILES ${headers} DESTINATION include/display)
|
---|
17 |
|
---|
18 | # install pcms if they are created
|
---|
19 | if (NOT ${ROOT_VERSION} VERSION_LESS "6.0.0")
|
---|
20 | install(FILES
|
---|
21 | ${PROJECT_BINARY_DIR}/display/libDisplayDict_rdict.pcm
|
---|
22 | DESTINATION lib)
|
---|
23 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.