aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.config/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.config/CMakeLists.txt')
-rw-r--r--nihil.config/CMakeLists.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/nihil.config/CMakeLists.txt b/nihil.config/CMakeLists.txt
index d96b116..ed2bba3 100644
--- a/nihil.config/CMakeLists.txt
+++ b/nihil.config/CMakeLists.txt
@@ -1,11 +1,21 @@
# This source code is released into the public domain.
add_library(nihil.config STATIC)
+target_link_libraries(nihil.config PUBLIC nihil nihil.ucl)
target_sources(nihil.config PUBLIC
FILE_SET modules TYPE CXX_MODULES FILES
+
nihil.config.ccm
error.ccm
+ read.ccm
store.ccm
+ write.ccm
+
option.ccm
- string.ccm)
-target_link_libraries(nihil.config PUBLIC nihil nihil.ucl)
+ string.ccm
+)
+
+if(NIHIL_TESTS)
+ add_subdirectory(tests)
+ enable_testing()
+endif()