I have a set of tests like this :
enable_testing()
add_executable(first_test tests/first.cpp)
add_test(NAME FIRST COMMAND first_test)
add_executable(second_test tests/second.cpp)
add_test(NAME SECOND COMMAND second_test)
I want to get all of theses tests (*_test) inside a variable for other function dependencies.
For now, I have :
set(DEPENDENCIES first_test second_test)
A way to do that ?