-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
executable file
·28 lines (20 loc) · 939 Bytes
/
CMakeLists.txt
File metadata and controls
executable file
·28 lines (20 loc) · 939 Bytes
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
cmake_minimum_required(VERSION 3.23)
project(Math VERSION "${BUILD_VERSION}")
# Include cmake_helper submodule
include("cmake/include.cmake")
cmc_include_conan_configuration()
# Enable the grouping target in folders, when available in IDE.
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# see: https://cmake.org/cmake/help/latest/module/CTest.html
# To be included in the top CMakeLists.txt, creates BUILD_TESTING option (ON by default)
# Invokes enable_testing() to enable add_test(), unless BUILD_TESTING is OFF.
# note: Conan can set BUILD_TESTING to OFF through tools.build:skip_test configuration.
include(CTest)
# Note: also set by conanuser_config.cmake
option (BUILD_CONF_WarningAsError "Enable warning as error compiler option." False)
include(cmc-install)
cmc_install_root_component_config(${PROJECT_NAME})
cmc_register_source_package(${PROJECT_NAME})
include(cmc-cpp)
cmc_cpp_define_sanitizer_enum()
add_subdirectory(src)