Last change
on this file since 1a35f96 was b8a84d7, checked in by Roberto Preghenella <preghenella@…>, 4 years ago |
Fix relocation issues with header files in dictionary
|
-
Property mode
set to
100644
|
File size:
996 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)
|
---|
[b8a84d7] | 8 |
|
---|
[7fe06d6] | 9 | list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ExRootAnalysisLinkDef.h)
|
---|
| 10 |
|
---|
[b8a84d7] | 11 | DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict
|
---|
| 12 | ExRootAnalysis/ExRootClassifier.h
|
---|
| 13 | ExRootAnalysis/ExRootConfReader.h
|
---|
| 14 | ExRootAnalysis/ExRootFilter.h
|
---|
| 15 | ExRootAnalysis/ExRootProgressBar.h
|
---|
| 16 | ExRootAnalysis/ExRootResult.h
|
---|
| 17 | ExRootAnalysis/ExRootTask.h
|
---|
| 18 | ExRootAnalysis/ExRootTreeBranch.h
|
---|
| 19 | ExRootAnalysis/ExRootTreeReader.h
|
---|
| 20 | ExRootAnalysis/ExRootTreeWriter.h
|
---|
| 21 | ExRootAnalysis/ExRootUtilities.h
|
---|
| 22 | LINKDEF ExRootAnalysisLinkDef.h)
|
---|
[7fe06d6] | 23 |
|
---|
| 24 | add_library(ExRootAnalysis OBJECT ${sources} ExRootAnalysisDict.cxx)
|
---|
| 25 |
|
---|
[9259bfe] | 26 | # install headers
|
---|
[8c872c8] | 27 | install(FILES ${headers} DESTINATION include/ExRootAnalysis)
|
---|
[0f5bf9d] | 28 |
|
---|
| 29 | # install pcms if they are created
|
---|
[82cf9c4] | 30 | if (NOT ${ROOT_VERSION} VERSION_LESS "6.0.0")
|
---|
[0f5bf9d] | 31 | install(FILES
|
---|
| 32 | ${PROJECT_BINARY_DIR}/external/ExRootAnalysis/libExRootAnalysisDict_rdict.pcm
|
---|
| 33 | DESTINATION lib)
|
---|
| 34 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.