diff options
author | Brad King <brad.king@kitware.com> | 2015-05-08 19:41:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-12 13:06:49 (GMT) |
commit | 226df303f955a8756cda7544f58242b52ea7ec2e (patch) | |
tree | f4ad45a19cb1b2387b93f76355f06d19c8b9dbfd /Tests/RunCMake/ctest_build/test.cmake.in | |
parent | 28e7a135e001afb36a7cff8e896ebac75390dde0 (diff) | |
download | CMake-226df303f955a8756cda7544f58242b52ea7ec2e.zip CMake-226df303f955a8756cda7544f58242b52ea7ec2e.tar.gz CMake-226df303f955a8756cda7544f58242b52ea7ec2e.tar.bz2 |
CTest: Stop telling 'make' to ignore errors with -i
Add policy CMP0061 to maintain compatibility for existing projects.
Diffstat (limited to 'Tests/RunCMake/ctest_build/test.cmake.in')
-rw-r--r-- | Tests/RunCMake/ctest_build/test.cmake.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/RunCMake/ctest_build/test.cmake.in b/Tests/RunCMake/ctest_build/test.cmake.in index 38c8ea1..768f1c6 100644 --- a/Tests/RunCMake/ctest_build/test.cmake.in +++ b/Tests/RunCMake/ctest_build/test.cmake.in @@ -1,4 +1,5 @@ cmake_minimum_required(VERSION 3.1) +@CASE_TEST_PREFIX_CODE@ set(CTEST_SITE "test-site") set(CTEST_BUILD_NAME "test-build-name") @@ -12,4 +13,5 @@ set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}") set(ctest_build_args "@CASE_CTEST_BUILD_ARGS@") ctest_start(Experimental) ctest_configure() -ctest_build(${ctest_build_args}) +ctest_build(${ctest_build_args} RETURN_VALUE ctest_build_return_value) +@CASE_TEST_SUFFIX_CODE@ |