aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.ucl/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-22 14:46:53 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-22 14:46:53 +0100
commitf41970666675f873d7c1075efd192f22df8d17fe (patch)
tree09b8c4da91a7efeb37a92d322d3e729e4dbde659 /nihil.ucl/tests/CMakeLists.txt
parentd27d1302d1fa1b96bf8f53f17fce947f19d21330 (diff)
downloadnihil-f41970666675f873d7c1075efd192f22df8d17fe.tar.gz
nihil-f41970666675f873d7c1075efd192f22df8d17fe.tar.bz2
add nihil.ucl (incomplete)
Diffstat (limited to 'nihil.ucl/tests/CMakeLists.txt')
-rw-r--r--nihil.ucl/tests/CMakeLists.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/nihil.ucl/tests/CMakeLists.txt b/nihil.ucl/tests/CMakeLists.txt
new file mode 100644
index 0000000..2c4ec5d
--- /dev/null
+++ b/nihil.ucl/tests/CMakeLists.txt
@@ -0,0 +1,23 @@
+# This source code is released into the public domain.
+
+add_executable(nihil.ucl.test
+ emit.cc
+ parse.cc
+
+ object.cc
+ array.cc
+ boolean.cc
+ integer.cc
+ real.cc
+ string.cc
+)
+
+target_link_libraries(nihil.ucl.test PRIVATE
+ nihil nihil.ucl
+ Catch2::Catch2WithMain)
+
+find_package(Catch2 REQUIRED)
+
+include(CTest)
+include(Catch)
+catch_discover_tests(nihil.ucl.test)