Add custom 'check' target that depends on the test_runner target for backwards compatibility.

This commit is contained in:
Michael Palimaka 2012-05-17 03:42:36 +10:00
parent 52e96e48c5
commit b5ad68d64b

View File

@ -63,3 +63,5 @@ ADD_EXECUTABLE(test_runner ${test_runner_SRCS})
TARGET_LINK_LIBRARIES(test_runner tag ${CPPUNIT_LIBRARIES})
ADD_TEST(test_runner test_runner)
ADD_CUSTOM_TARGET(check COMMAND ${CMAKE_CTEST_COMMAND} -V
DEPENDS test_runner)