abacus/CMakeLists.txt

19 lines
376 B
CMake
Raw Normal View History

2021-09-01 19:00:51 +02:00
cmake_minimum_required(VERSION 3.10)
project(abacus VERSION 0.0.0 LANGUAGES CXX)
enable_testing()
add_library(common_options INTERFACE)
target_compile_features(common_options INTERFACE
2021-10-12 15:05:38 +02:00
cxx_std_20
2021-09-01 19:00:51 +02:00
)
target_compile_options(common_options INTERFACE
-Wall
-Wextra
)
target_include_directories(common_options INTERFACE
src
)
2021-09-01 19:00:51 +02:00
add_subdirectory(src)
add_subdirectory(tests)