-
Notifications
You must be signed in to change notification settings - Fork 15
/
CMakeLists.txt
50 lines (30 loc) · 1.47 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
cmake_minimum_required(VERSION 2.8)
project(FCCAnalyses CXX)
find_package(ROOT COMPONENTS ROOTDataFrame)
include(${ROOT_USE_FILE})
find_package(fccedm)
find_package(EDM4HEP)
find_package(podio)
# Define basic build settings
# Use GNU-style hierarchy for installing build products
include(GNUInstallDirs)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
find_package(FastJet)
# Offer the user the choice of overriding the installation directories
set(INSTALL_LIB_DIR lib CACHE PATH "Installation directory for libraries")
set(INSTALL_BIN_DIR bin CACHE PATH "Installation directory for executables")
set(INSTALL_INCLUDE_DIR include CACHE PATH
"Installation directory for header files")
file(GLOB _run_python_files config/*.py)
install(FILES ${_run_python_files} DESTINATION ${CMAKE_INSTALL_PREFIX}/python/config)
install(FILES config/doPlots.py PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ DESTINATION ${CMAKE_INSTALL_PREFIX}/python/config)
#install(DIRECTORY FCCeeAnalyses DESTINATION ${CMAKE_INSTALL_PREFIX}/python)
#install(DIRECTORY FCChhAnalyses DESTINATION ${CMAKE_INSTALL_PREFIX}/python)
add_subdirectory(analyzers/dataframe)
#add_subdirectory(FCChhAnalyses/FCChh/tth_4l/dataframe)
#add_subdirectory(FCCeeAnalyses/Z_Zqq/dataframe)
#add_subdirectory(FCCeeAnalyses/Z_Zbb_Flavor/)
option(FCCANALYSES_DOCUMENTATION "Whether or not to create doxygen doc target." ON)
if(FCCANALYSES_DOCUMENTATION)
include(cmake/FCCANALYSESDoxygen.cmake)
endif()