cmake: Group tests together in a folder for IDEs that support it

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2619>
This commit is contained in:
Andrei Aristarkhov authored and Marge Bot committed 2025-11-10 15:29:46 +00:00
1 parent 4051edb092
commit 6d59798fc2
1 file changed
+1
+1
View File
@@ -52,6 +52,7 @@ foreach(testname ${tests})
target_link_libraries(${testname} PRIVATE xrt-external-catch2)
target_link_libraries(${testname} PRIVATE aux_util)
add_test(NAME ${testname} COMMAND ${testname} --success --allow-running-no-tests)
set_target_properties(${testname} PROPERTIES FOLDER monado_tests)
endforeach()
# For tests that require more than just aux_util, link those other libs down here.