aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.config/CMakeLists.txt
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-23 16:28:11 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-23 16:28:11 +0100
commitd5963532328ce5f1c9f266bf7e760b7d18a60c15 (patch)
tree28e8d4b98f2f3adbd2f02bcc656ad74e626677c9 /nihil.config/CMakeLists.txt
parent0fa623093366351ad47583f47add6e51f56a56d8 (diff)
downloadnihil-d5963532328ce5f1c9f266bf7e760b7d18a60c15.tar.gz
nihil-d5963532328ce5f1c9f266bf7e760b7d18a60c15.tar.bz2
various updates
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()