abacus: add cmake-based build system
This commit is contained in:
parent
549c1f0574
commit
331089d101
6 changed files with 76 additions and 0 deletions
15
CMakeLists.txt
Normal file
15
CMakeLists.txt
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue