summaryrefslogtreecommitdiffstats
path: root/Tests/CTestConfig
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-02-08 18:38:56 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-02-08 18:38:56 (GMT)
commit7dab997771e4f496fd71a4e9c3abc26063c57c68 (patch)
treec591caee76cbcc3938e54823c2b06f30d6f698b0 /Tests/CTestConfig
parent2cd362d19114e4b8a85c3c5179734d12416f4d72 (diff)
parent56ca8d4e6365d67901e0cff7f2bd99f174537a97 (diff)
downloadCMake-7dab997771e4f496fd71a4e9c3abc26063c57c68.zip
CMake-7dab997771e4f496fd71a4e9c3abc26063c57c68.tar.gz
CMake-7dab997771e4f496fd71a4e9c3abc26063c57c68.tar.bz2
Merge topic 'generator-toolset'
56ca8d4 Tests: Add generator toolset support f36c665 Tests: Consolidate ctest --build-and-test generator options c0debb1 Merge branch 'master' into generator-toolset daae0d2 ExternalProject: Propagate the generator toolset e3841cf CTest: Add options to set generator toolset f980a80 Xcode: Implement generator toolset selection (#9831, #13802) 650c647 VS: Implement generator toolset selection (#10722, #13774) 4fd5342 CMake: Add -T option to choose a generator toolset 118c32f Merge branch 'xcode-duplicate-flags-13354' into generator-toolset cf8645e Tests: Run ctest custom commands with VERBATIM 5b2fba5 ExternalProject: Simplify CMake command line generation
Diffstat (limited to 'Tests/CTestConfig')
-rw-r--r--Tests/CTestConfig/dashboard.cmake.in5
-rw-r--r--Tests/CTestConfig/script.cmake.in1
2 files changed, 5 insertions, 1 deletions
diff --git a/Tests/CTestConfig/dashboard.cmake.in b/Tests/CTestConfig/dashboard.cmake.in
index c7ac210..0bba6d6 100644
--- a/Tests/CTestConfig/dashboard.cmake.in
+++ b/Tests/CTestConfig/dashboard.cmake.in
@@ -17,7 +17,10 @@ endif()
message("cmake initial configure")
execute_process(COMMAND ${CMAKE_COMMAND}
- ${arg} -G "@CMAKE_TEST_GENERATOR@" ${CTEST_SOURCE_DIRECTORY}
+ ${arg}
+ -G "@CMAKE_TEST_GENERATOR@"
+ -T "@CMAKE_TEST_GENERATOR_TOOLSET@"
+ ${CTEST_SOURCE_DIRECTORY}
WORKING_DIRECTORY ${CTEST_BINARY_DIRECTORY}
RESULT_VARIABLE rv)
if(NOT rv STREQUAL 0)
diff --git a/Tests/CTestConfig/script.cmake.in b/Tests/CTestConfig/script.cmake.in
index 5ceb7c3..83267a4 100644
--- a/Tests/CTestConfig/script.cmake.in
+++ b/Tests/CTestConfig/script.cmake.in
@@ -1,4 +1,5 @@
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
+set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
set(CTEST_PROJECT_NAME "CTestConfig")
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestConfig")
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestConfig/@cfg@-script")