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
|
|
|
|
)
|
2021-09-01 19:42:58 +02:00
|
|
|
target_include_directories(common_options INTERFACE
|
|
|
|
src
|
|
|
|
)
|
2021-09-01 19:00:51 +02:00
|
|
|
|
|
|
|
add_subdirectory(src)
|
|
|
|
add_subdirectory(tests)
|