ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since 367b2e1 was 0f5bf9d, checked in by Joschka Lingemann <joschka.lingemann@…>, 8 years ago |
Add missing install targets
- header files for some ExRoot* classes
- all pcm files generated when ROOT version > 6.x
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
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}/FastJetLinkDef.h)
|
---|
10 | list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ModulesLinkDef.h)
|
---|
11 | list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/Pythia8LinkDef.h)
|
---|
12 |
|
---|
13 | DELPHES_GENERATE_DICTIONARY(FastJetDict ${headers} LINKDEF FastJetLinkDef.h)
|
---|
14 | DELPHES_GENERATE_DICTIONARY(ModulesDict ${headers} LINKDEF ModulesLinkDef.h)
|
---|
15 |
|
---|
16 | # TODO: implement switch to enable Pythia8 if present
|
---|
17 | list(REMOVE_ITEM sources ${CMAKE_CURRENT_SOURCE_DIR}/PileUpMergerPythia8.cc)
|
---|
18 |
|
---|
19 | add_library(modules OBJECT ${sources} FastJetDict.cxx ModulesDict.cxx)
|
---|
20 |
|
---|
21 | # install public headers
|
---|
22 | install(FILES Delphes.h
|
---|
23 | DESTINATION include/modules
|
---|
24 | )
|
---|
25 |
|
---|
26 | # install pcms if they are created
|
---|
27 | if (${ROOT_VERSION} GREATER 6)
|
---|
28 | install(FILES
|
---|
29 | ${PROJECT_BINARY_DIR}/modules/libModulesDict_rdict.pcm
|
---|
30 | ${PROJECT_BINARY_DIR}/modules/libFastJetDict_rdict.pcm
|
---|
31 | DESTINATION lib)
|
---|
32 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.