ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since fc02d59 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:
889 bytes
|
Rev | Line | |
---|
[7fe06d6] | 1 | include_directories(
|
---|
| 2 | ${CMAKE_SOURCE_DIR}/external
|
---|
| 3 | ${ROOT_INCLUDE_DIRS}
|
---|
| 4 | )
|
---|
| 5 |
|
---|
| 6 | file(GLOB sources *.cc)
|
---|
| 7 | file(GLOB headers *.h)
|
---|
| 8 | list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ExRootAnalysisLinkDef.h)
|
---|
| 9 |
|
---|
[be6c1c8] | 10 | DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict ${headers} LINKDEF ExRootAnalysisLinkDef.h)
|
---|
[7fe06d6] | 11 |
|
---|
| 12 | add_library(ExRootAnalysis OBJECT ${sources} ExRootAnalysisDict.cxx)
|
---|
| 13 |
|
---|
| 14 | # install headers needed by public Delphes headers to include/
|
---|
[0f5bf9d] | 15 | install(FILES ExRootTask.h ExRootConfReader.h ExRootTreeWriter.h ExRootTreeBranch.h
|
---|
| 16 | DESTINATION include/ExRootAnalysis)
|
---|
| 17 |
|
---|
| 18 | # install all LinkDef files into the same folder to ease user environment
|
---|
| 19 | install(FILES ExRootAnalysisLinkDef.h DESTINATION include)
|
---|
| 20 |
|
---|
| 21 | # install pcms if they are created
|
---|
| 22 | if (${ROOT_VERSION} GREATER 6)
|
---|
| 23 | install(FILES
|
---|
| 24 | ${PROJECT_BINARY_DIR}/external/ExRootAnalysis/libExRootAnalysisDict_rdict.pcm
|
---|
| 25 | DESTINATION lib)
|
---|
| 26 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.