Last change
on this file since 21eab4f was be6c1c8, checked in by Pavel Demin <pavel.demin@…>, 10 years ago |
adapt CMake files to ROOT 6
|
-
Property mode
set to
100644
|
File size:
511 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 ExRootTask.h ExRootConfReader.h DESTINATION include/ExRootAnalysis)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.