source:
git/classes/CMakeLists.txt@
ba88abf
Last change on this file since ba88abf was b8a84d7, checked in by , 4 years ago | |
---|---|
|
|
File size: 726 bytes |
Rev | Line | |
---|---|---|
[7fe06d6] | 1 | include_directories( |
2 | ${CMAKE_SOURCE_DIR} | |
3 | ${ROOT_INCLUDE_DIRS} | |
4 | ${DelphesExternals_INCLUDE_DIR} | |
5 | ) | |
6 | ||
7 | file(GLOB sources *.cc) | |
8 | file(GLOB headers *.h) | |
9 | list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ClassesLinkDef.h) | |
10 | ||
[be6c1c8] | 11 | DELPHES_GENERATE_DICTIONARY(ClassesDict |
[b8a84d7] | 12 | classes/DelphesModule.h |
13 | classes/DelphesFactory.h | |
14 | classes/SortableObject.h | |
15 | classes/DelphesClasses.h | |
[7fe06d6] | 16 | LINKDEF ClassesLinkDef.h |
17 | ) | |
18 | ||
19 | add_library(classes OBJECT ${sources} ClassesDict.cxx) | |
20 | ||
21 | # install public headers | |
22 | install(FILES ${headers} DESTINATION include/classes) | |
[0f5bf9d] | 23 | |
24 | # install pcms if they are created | |
[f08ddc6] | 25 | if (NOT ${ROOT_VERSION} VERSION_LESS "6.0.0") |
[0f5bf9d] | 26 | install(FILES |
27 | ${PROJECT_BINARY_DIR}/classes/libClassesDict_rdict.pcm | |
28 | DESTINATION lib) | |
29 | endif() |
Note:
See TracBrowser
for help on using the repository browser.