aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.posix/CMakeLists.txt
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-28 20:40:25 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-28 20:40:25 +0100
commitc54ff48ac3abb62a40eb1a438da8e3e7ef139797 (patch)
tree4a78c556c7cbc6d3d7e364ca0c52c57ac0f5094b /nihil.posix/CMakeLists.txt
parenta2d7181700ac64b8e7a4472ec26dfa253b38f188 (diff)
downloadnihil-c54ff48ac3abb62a40eb1a438da8e3e7ef139797.tar.gz
nihil-c54ff48ac3abb62a40eb1a438da8e3e7ef139797.tar.bz2
posix: add tempfile()
Diffstat (limited to 'nihil.posix/CMakeLists.txt')
-rw-r--r--nihil.posix/CMakeLists.txt54
1 files changed, 30 insertions, 24 deletions
diff --git a/nihil.posix/CMakeLists.txt b/nihil.posix/CMakeLists.txt
index db5e5aa..6f410ce 100644
--- a/nihil.posix/CMakeLists.txt
+++ b/nihil.posix/CMakeLists.txt
@@ -1,41 +1,47 @@
# This source code is released into the public domain.
add_library(nihil.posix STATIC)
-target_link_libraries(nihil.posix PRIVATE nihil.error nihil.guard nihil.monad)
+target_link_libraries(nihil.posix PRIVATE
+ nihil.error nihil.flagset nihil.guard nihil.monad)
target_sources(nihil.posix
PUBLIC FILE_SET modules TYPE CXX_MODULES FILES
- nihil.posix.ccm
- argv.ccm
- ensure_dir.ccm
- exec.ccm
- fd.ccm
- open.ccm
- process.ccm
- read_file.ccm
- rename.ccm
- spawn.ccm
- write_file.ccm
+ posix.ccm
+
+ posix.argv.ccm
+ posix.ensure_dir.ccm
+ posix.exec.ccm
+ posix.fd.ccm
+ posix.getenv.ccm
+ posix.open.ccm
+ posix.process.ccm
+ posix.read_file.ccm
+ posix.rename.ccm
+ posix.spawn.ccm
+ posix.tempfile.ccm
+ posix.write_file.ccm
PRIVATE
- argv.cc
- ensure_dir.cc
- exec.cc
- getenv.cc
- fd.cc
- find_in_path.cc
- open.cc
- process.cc
- rename.cc
+ posix.argv.cc
+ posix.ensure_dir.cc
+ posix.exec.cc
+ posix.getenv.cc
+ posix.fd.cc
+ posix.find_in_path.cc
+ posix.open.cc
+ posix.process.cc
+ posix.rename.cc
+ posix.tempfile.cc
)
if(NIHIL_TESTS)
enable_testing()
add_executable(nihil.posix.test
- test_fd.cc
- test_getenv.cc
- test_spawn.cc
+ test.fd.cc
+ test.getenv.cc
+ test.spawn.cc
+ test.tempfile.cc
)
target_link_libraries(nihil.posix.test PRIVATE