[CMake] CTest and grouped test with custom_target
Roman Savchenko
gmstima at gmail.com
Tue Jun 9 05:48:45 EDT 2015
Hi all,
I whant create goups of test and add them to custom targets, e.g.
//unit test
add_custom_target(check-unit "COMMAND ${CMAKE_CTEST_COMMAND}
--output-on-failure")
add_test_to_target(check-unit ${TEST1})
//integration tests
add_custom_target(check-integration "COMMAND ${CMAKE_CTEST_COMMAND}
--output-on-failure")
add_test_to_target((check-integration ${TEST1})
How can I implement such logic?
Many tanks,
R. Savchenko.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150609/dc1800b3/attachment.html>
More information about the CMake
mailing list