diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2015-02-17 17:38:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-23 15:01:59 (GMT) |
commit | f999dc0bbf70dcf6167d77a1dedabefa12edaef2 (patch) | |
tree | d22f9afddb279068fd7d03dd142a6c7203327c24 /Tests/RunCMake/ctest_configure/test.cmake.in | |
parent | 645ad117e1c8b3b99fda128daad708a87c0a3f2e (diff) | |
download | CMake-f999dc0bbf70dcf6167d77a1dedabefa12edaef2.zip CMake-f999dc0bbf70dcf6167d77a1dedabefa12edaef2.tar.gz CMake-f999dc0bbf70dcf6167d77a1dedabefa12edaef2.tar.bz2 |
ctest_configure: Add QUIET option
Diffstat (limited to 'Tests/RunCMake/ctest_configure/test.cmake.in')
-rw-r--r-- | Tests/RunCMake/ctest_configure/test.cmake.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_configure/test.cmake.in b/Tests/RunCMake/ctest_configure/test.cmake.in new file mode 100644 index 0000000..72d199a --- /dev/null +++ b/Tests/RunCMake/ctest_configure/test.cmake.in @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.1) + +set(CTEST_SITE "test-site") +set(CTEST_BUILD_NAME "test-build-name") +set(CTEST_SOURCE_DIRECTORY "@RunCMake_BINARY_DIR@/@CASE_NAME@") +set(CTEST_BINARY_DIRECTORY "@RunCMake_BINARY_DIR@/@CASE_NAME@-build") +set(CTEST_CMAKE_GENERATOR "@RunCMake_GENERATOR@") +set(CTEST_CMAKE_GENERATOR_PLATFORM "@RunCMake_GENERATOR_PLATFORM@") +set(CTEST_CMAKE_GENERATOR_TOOLSET "@RunCMake_GENERATOR_TOOLSET@") +set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}") + +set(ctest_configure_args "@CASE_CTEST_CONFIGURE_ARGS@") +ctest_start(Experimental) +ctest_configure(${ctest_configure_args}) |