-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCMakeLists.txt
39 lines (36 loc) · 1.18 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
# CMakeLists for tools
project(tools)
# Set up
cmake_minimum_required (VERSION 3.0)
set(CMAKE_VERBOSE_MAKEFILE ON)
if(NOT CMAKE_CXX_FLAGS)
set(CMAKE_CXX_FLAGS "-std=c++17")
endif()
set(CMAKE_EXE_LINKER_FLAGS "-L/usr/lib64/openssl-1.0")
set(CMAKE_SHARED_LINKER_FLAGS "-L/usr/lib64/openssl-1.0")
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules")
find_package(ROOT REQUIRED)
find_package(LZ4 REQUIRED)
add_definitions(-D__LZ4__)
SET(CMAKE_SKIP_BUILD_RPATH FALSE)
SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
SET(CMAKE_INSTALL_RPATH "${CMAKE_SOURCE_DIR}/lib")
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_SOURCE_DIR}/lib" isSystemDir)
IF("${isSystemDir}" STREQUAL "-1")
SET(CMAKE_INSTALL_RPATH "${CMAKE_SOURCE_DIR}/lib")
ENDIF("${isSystemDir}" STREQUAL "-1")
# Add directories
add_subdirectory(banklib)
add_subdirectory(hipolib)
add_subdirectory(bandhit)
add_subdirectory(clashit)
add_subdirectory(particles)
#add_subdirectory(clas12fiducial)
add_subdirectory(clas12pid)
#add_subdirectory(testpid)
add_subdirectory(taghit)
add_subdirectory(genpart)
add_subdirectory(skimmers)
add_subdirectory(DCfiducial)
add_subdirectory(calibration)