ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since 9ca0c9c was 7fe06d6, checked in by Pavel Demin <pavel.demin@…>, 10 years ago |
add CMake files
|
-
Property mode
set to
100644
|
File size:
962 bytes
|
Rev | Line | |
---|
[7fe06d6] | 1 | cmake_minimum_required(VERSION 2.8)
|
---|
| 2 |
|
---|
| 3 | project(Delphes)
|
---|
| 4 |
|
---|
| 5 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -DDROP_CGAL")
|
---|
| 6 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
|
---|
| 7 |
|
---|
| 8 | # Declare ROOT dependency
|
---|
| 9 | find_package(ROOT COMPONENTS EG Eve GenVector Hist Physics Matrix Graf RIO Tree Gpad RGL MathCore)
|
---|
| 10 | include(${ROOT_USE_FILE})
|
---|
| 11 |
|
---|
| 12 | # Declare position of all other externals needed
|
---|
| 13 | set(DelphesExternals_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/external)
|
---|
| 14 |
|
---|
| 15 | add_subdirectory(classes)
|
---|
| 16 | add_subdirectory(converters)
|
---|
| 17 | add_subdirectory(display)
|
---|
| 18 | add_subdirectory(examples)
|
---|
| 19 | add_subdirectory(external)
|
---|
| 20 | add_subdirectory(modules)
|
---|
| 21 | add_subdirectory(readers)
|
---|
| 22 |
|
---|
| 23 | add_library(Delphes SHARED
|
---|
| 24 | $<TARGET_OBJECTS:classes>
|
---|
| 25 | $<TARGET_OBJECTS:display>
|
---|
| 26 | $<TARGET_OBJECTS:modules>
|
---|
| 27 | $<TARGET_OBJECTS:ExRootAnalysis>
|
---|
| 28 | $<TARGET_OBJECTS:fastjet>
|
---|
| 29 | $<TARGET_OBJECTS:tcl>
|
---|
| 30 | $<TARGET_OBJECTS:Hector>
|
---|
| 31 | )
|
---|
| 32 |
|
---|
| 33 | target_link_Libraries(Delphes ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES})
|
---|
| 34 |
|
---|
| 35 | install(TARGETS Delphes DESTINATION lib)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.