CMake/Tests/RunCMake/ctest_build/RunCMakeTest.cmake

11 lines
200 B
CMake
Raw Normal View History

2015-02-17 21:41:40 +03:00
include(RunCTest)
set(CASE_CTEST_BUILD_ARGS "")
function(run_ctest_build CASE_NAME)
set(CASE_CTEST_BUILD_ARGS "${ARGN}")
run_ctest(${CASE_NAME})
endfunction()
run_ctest_build(BuildQuiet QUIET)