CMake/Tests/RunCMake/ctest_test/RunCMakeTest.cmake

11 lines
195 B
CMake
Raw Normal View History

2015-02-17 22:23:56 +03:00
include(RunCTest)
set(CASE_CTEST_TEST_ARGS "")
function(run_ctest_test CASE_NAME)
set(CASE_CTEST_TEST_ARGS "${ARGN}")
run_ctest(${CASE_NAME})
endfunction()
run_ctest_test(TestQuiet QUIET)