From 059fa151856293a8b6bdf9b16d1b72f415f59df3 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 2 Aug 2026 16:57:12 +0200 Subject: build: add CMake skeleton and dependency discovery --- tests/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/CMakeLists.txt (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..3344d4a --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,6 @@ +# add_qtmaildir_test() builds tests/test_.cpp and registers it. +function(add_qtmaildir_test name) + add_executable(test_${name} test_${name}.cpp) + target_link_libraries(test_${name} PRIVATE qtmaildir_lib Qt6::Test) + add_test(NAME ${name} COMMAND test_${name}) +endfunction() -- cgit v1.2.3