summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-05 19:14:13 (GMT)
committerBrad King <brad.king@kitware.com>2014-09-05 19:18:21 (GMT)
commit8d332091702f34fd1e6c1554f137ac6d85b15dc8 (patch)
tree40dbc7fe62f956230bac68faa359078466a3be69 /Source/ctest.cxx
parentb97736a23d5d83eb65b6ee0b0429ada9fb331c12 (diff)
downloadCMake-8d332091702f34fd1e6c1554f137ac6d85b15dc8.zip
CMake-8d332091702f34fd1e6c1554f137ac6d85b15dc8.tar.gz
CMake-8d332091702f34fd1e6c1554f137ac6d85b15dc8.tar.bz2
CTest: Add options to set generator platform
The ctest_configure command already reads the CTEST_CMAKE_GENERATOR variable to get the value for the cmake -G option. Read new variable CTEST_CMAKE_GENERATOR_PLATFORM to pass on as CMAKE_GENERATOR_PLATFORM. The "ctest --build-and-test" mode already has "--build-generator" to specify the -G option to CMake. Add a "--build-generator-platform" option to specify a value to pass on as CMAKE_GENERATOR_PLATFORM.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 2c72b4d..fb97af6 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -86,6 +86,7 @@ static const char * cmDocumentationOptions[][2] =
{"--build-two-config", "Run CMake twice"},
{"--build-exe-dir", "Specify the directory for the executable."},
{"--build-generator", "Specify the generator to use."},
+ {"--build-generator-platform", "Specify the generator-specific platform."},
{"--build-generator-toolset", "Specify the generator-specific toolset."},
{"--build-project", "Specify the name of the project to build."},
{"--build-makeprogram", "Specify the make program to use."},