diff options
Diffstat (limited to 'nihil.ucl/tests/CMakeLists.txt')
| -rw-r--r-- | nihil.ucl/tests/CMakeLists.txt | 23 |
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) |
