2022-06-08 15:51:26 -04:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
|
2022-08-29 15:14:55 -04:00
|
|
|
|
|
|
|
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
|
|
set(CMAKE_BUILD_TYPE "Release")
|
|
|
|
message("Building release")
|
|
|
|
else()
|
|
|
|
message("Building debug")
|
|
|
|
endif()
|
|
|
|
|
2022-06-08 15:51:26 -04:00
|
|
|
project(Mask)
|
|
|
|
|
|
|
|
set(MASK_BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/bin)
|
|
|
|
set(MASK_LIBRARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib)
|
|
|
|
set(MASK_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
|
2022-08-18 10:32:48 -04:00
|
|
|
find_package(ROOT REQUIRED COMPONENTS GenVector)
|
|
|
|
|
2022-06-09 11:29:02 -04:00
|
|
|
add_subdirectory(src/vendor/catima)
|
2022-06-08 15:51:26 -04:00
|
|
|
add_subdirectory(src/Mask)
|
2022-08-30 14:19:42 -04:00
|
|
|
add_subdirectory(src/Kinematics)
|
2022-06-08 15:51:26 -04:00
|
|
|
add_subdirectory(src/Detectors)
|
2022-08-18 10:32:48 -04:00
|
|
|
add_subdirectory(src/Plotters)
|