abacus: add cmake-based build system

This commit is contained in:
Bruno BELANYI 2021-09-01 19:00:51 +02:00
parent 549c1f0574
commit 331089d101
6 changed files with 76 additions and 0 deletions

15
CMakeLists.txt Normal file
View file

@ -0,0 +1,15 @@
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
cxx_std_17
)
target_compile_options(common_options INTERFACE
-Wall
-Wextra
)
add_subdirectory(src)
add_subdirectory(tests)