Last change
on this file since 7b0e00c 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:
616 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
|
---|
[7fe06d6] | 12 | ${CMAKE_CURRENT_SOURCE_DIR}/DelphesModule.h
|
---|
| 13 | ${CMAKE_CURRENT_SOURCE_DIR}/DelphesFactory.h
|
---|
| 14 | ${CMAKE_CURRENT_SOURCE_DIR}/SortableObject.h
|
---|
| 15 | ${CMAKE_CURRENT_SOURCE_DIR}/DelphesClasses.h
|
---|
| 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)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.