diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-05-08 22:00:54 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-05-08 22:00:54 +0200 |
| commit | 87c6607602e969d94ed8b8f97bb45f416e37b22d (patch) | |
| tree | a9c01322cfb9f32753ea55519937e6c0e3ee1892 /core/CMakeLists.txt | |
| parent | 917d1bc227490918854b827a856fd0613745c452 (diff) | |
| download | turns-87c6607602e969d94ed8b8f97bb45f416e37b22d.tar.xz turns-87c6607602e969d94ed8b8f97bb45f416e37b22d.zip | |
core/tests: improve turn_order tests
Diffstat (limited to 'core/CMakeLists.txt')
| -rw-r--r-- | core/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 5ec88e4..b52519f 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -65,4 +65,12 @@ target_link_options("core-tests" PRIVATE "$<$<AND:$<CXX_COMPILER_ID:GNU,Clang>,$<CONFIG:Debug>>:--coverage>" ) +file(GLOB_RECURSE TEST_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/tests" CONFIGURE_DEPENDS "*.trns") + +target_add_glib_resources("core-tests" + PREFIX "/ch/arknet/Turns/core-tests/" + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/tests" + CSS_FILES ${TEST_FILES} +) + catch_discover_tests("core-tests")
\ No newline at end of file |
