mirror of
https://github.com/gwm17/Mask.git
synced 2024-11-22 10:18:50 -05:00
25 lines
612 B
CMake
25 lines
612 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
|
|
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
set(CMAKE_BUILD_TYPE "Release")
|
|
message("Building release")
|
|
else()
|
|
message("Building debug")
|
|
endif()
|
|
|
|
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)
|
|
|
|
find_package(ROOT REQUIRED COMPONENTS GenVector)
|
|
|
|
add_subdirectory(src/vendor/catima)
|
|
add_subdirectory(src/Mask)
|
|
add_subdirectory(src/Kinematics)
|
|
add_subdirectory(src/Detectors)
|
|
add_subdirectory(src/Plotters) |