Last change
on this file since 49dc761 was 49dc761, checked in by Valentin Volkl <valentin.volkl@…>, 3 years ago |
Fix relocation issues with header files in dictionary
|
-
Property mode
set to
100644
|
File size:
996 bytes
|
Line | |
---|
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 |
|
---|
9 | list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ExRootAnalysisLinkDef.h)
|
---|
10 |
|
---|
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)
|
---|
23 |
|
---|
24 | add_library(ExRootAnalysis OBJECT ${sources} ExRootAnalysisDict.cxx)
|
---|
25 |
|
---|
26 | # install headers
|
---|
27 | install(FILES ${headers} DESTINATION include/ExRootAnalysis)
|
---|
28 |
|
---|
29 | # install pcms if they are created
|
---|
30 | if (NOT ${ROOT_VERSION} VERSION_LESS "6.0.0")
|
---|
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.