diff options
author | sanine <sanine.not@pm.me> | 2022-11-26 23:33:32 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-11-26 23:33:32 -0600 |
commit | 29f9921b919497be4d652ce963c8afbb2c1cd1e7 (patch) | |
tree | aae2f98de4e64829a12b577d13aa48a84d9b23d6 /CMakeLists.txt | |
parent | d087821a142558865675653a016f654eb66db730 (diff) |
implement basic matrix parsing
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..bf3ca8a --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,21 @@ +cmake_minimum_required(VERSION 3.13) +project(kalmia) + +option(KALMIA_BUILD_TESTS "Build the tests" ON) + +add_library(kalmia STATIC) +target_include_directories(kalmia PUBLIC include) +if (UNIX) + set_target_properties( + kalmia PROPERTIES + C_STANDARD 90 + CMAKE_C_FLAGS "-Wall -Wextra -Werror -Wfatal-errors -Wpedantic" + ) +endif() + +if (KALMIA_BUILD_TESTS) + add_executable(kalmia-tests) + target_link_libraries(kalmia-tests kalmia) +endif() + +add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/src) |