ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since 7d83636 was 7d83636, checked in by JP-Ellis <josh@…>, 8 years ago |
Include all ExRootAnalysis headers
When the headers are installed by make install , they are all installed in:
`
$INSTALL_PREFIX/include/ExRootAnalysis
`
In addition, one include directive has been fixed as per instructions in the
pull request.
Signed-off-by: JP-Ellis <josh@…>
|
-
Property mode
set to
100644
|
File size:
1009 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 | list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ExRootAnalysisLinkDef.h)
|
---|
9 |
|
---|
10 | DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict ${headers} LINKDEF ExRootAnalysisLinkDef.h)
|
---|
11 |
|
---|
12 | add_library(ExRootAnalysis OBJECT ${sources} ExRootAnalysisDict.cxx)
|
---|
13 |
|
---|
14 | # install headers needed by public Delphes headers to include/
|
---|
15 | install(FILES
|
---|
16 | ExRootClassifier.h
|
---|
17 | ExRootConfReader.h
|
---|
18 | ExRootFilter.h
|
---|
19 | ExRootProgressBar.h
|
---|
20 | ExRootResult.h
|
---|
21 | ExRootTask.h
|
---|
22 | ExRootTreeBranch.h
|
---|
23 | ExRootTreeReader.h
|
---|
24 | ExRootTreeWriter.h
|
---|
25 | ExRootUtilities.h
|
---|
26 | DESTINATION include/ExRootAnalysis)
|
---|
27 |
|
---|
28 | # install all LinkDef files into the same folder to ease user environment
|
---|
29 | install(FILES ExRootAnalysisLinkDef.h DESTINATION include)
|
---|
30 |
|
---|
31 | # install pcms if they are created
|
---|
32 | if (${ROOT_VERSION} GREATER 6)
|
---|
33 | install(FILES
|
---|
34 | ${PROJECT_BINARY_DIR}/external/ExRootAnalysis/libExRootAnalysisDict_rdict.pcm
|
---|
35 | DESTINATION lib)
|
---|
36 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.