-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
40 lines (28 loc) · 970 Bytes
/
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
project(AnalysisTreeCuts CXX)
cmake_minimum_required(VERSION 3.11)
list(APPEND CMAKE_PREFIX_PATH ${ROOTSYS})
list(APPEND CMAKE_PREFIX_PATH $ENV{ROOTSYS})
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules)
set(AnalysisTree_GIT_TAG v1.0.5 CACHE STRING "Git tag of the AnalysisTree")
include(AnalysisTree)
include(CMakeDependentOption)
set(AnalysisTreeCuts_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(AnalysisTreeCuts_LIBRARY_PATH
${AnalysisTreeCuts_SOURCE_DIR}/CutsLibrary CACHE STRING "Default path for the cuts library")
set(AnalysisTreeCuts_ENVNAME
CUTS_LIBRARY_PATH CACHE STRING "Environment variable to set different lookup path")
message("Cuts default Library Path: ${AnalysisTreeCuts_LIBRARY_PATH}")
add_subdirectory(AnalysisTreeCutsRegistry)
set(HEADERS
CbmCuts.h
ShineCuts.h
HadesCuts.h
)
install(
FILES
${HEADERS}
DESTINATION
include
COMPONENT
Devel
)