aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.util/CMakeLists.txt
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-07-01 17:07:04 +0100
committerLexi Winter <lexi@le-fay.org>2025-07-01 17:07:04 +0100
commit2e2d1bd3b6c7776b77c33b94f30ead89367a71e6 (patch)
tree54d37ffadf8e677938d9b7a28e4e9b71be1e75c1 /nihil.util/CMakeLists.txt
parent36427c0966faa7aecd586b397ed9b845f18172f5 (diff)
downloadnihil-2e2d1bd3b6c7776b77c33b94f30ead89367a71e6.tar.gz
nihil-2e2d1bd3b6c7776b77c33b94f30ead89367a71e6.tar.bz2
add nihil.std
Diffstat (limited to 'nihil.util/CMakeLists.txt')
-rw-r--r--nihil.util/CMakeLists.txt20
1 files changed, 13 insertions, 7 deletions
diff --git a/nihil.util/CMakeLists.txt b/nihil.util/CMakeLists.txt
index 2ef916e..109e4d4 100644
--- a/nihil.util/CMakeLists.txt
+++ b/nihil.util/CMakeLists.txt
@@ -1,7 +1,12 @@
# This source code is released into the public domain.
add_library(nihil.util STATIC)
-target_link_libraries(nihil.util PRIVATE nihil.core nihil.error nihil.monad)
+target_link_libraries(nihil.util PRIVATE
+ nihil.std
+ nihil.core
+ nihil.error
+ nihil.monad
+)
target_sources(nihil.util
PUBLIC FILE_SET modules TYPE CXX_MODULES FILES
nihil.util.ccm
@@ -10,6 +15,7 @@ target_sources(nihil.util
ctype.ccm
parse_size.ccm
next_word.ccm
+ save_errno.ccm
skipws.ccm
tabulate.ccm
)
@@ -18,12 +24,12 @@ if(NIHIL_TESTS)
enable_testing()
add_executable(nihil.util.test
- test_capture_stream.cc
- test_ctype.cc
- test_parse_size.cc
- test_next_word.cc
- test_skipws.cc
- test_tabulate.cc
+ capture_stream.test.cc
+ ctype.test.cc
+ parse_size.test.cc
+ next_word.test.cc
+ skipws.test.cc
+ tabulate.test.cc
)
target_link_libraries(nihil.util.test PRIVATE
nihil.util