diff options
author | Brad King <brad.king@kitware.com> | 2014-09-05 15:14:13 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-09-05 15:18:21 -0400 |
commit | 8d332091702f34fd1e6c1554f137ac6d85b15dc8 (patch) | |
tree | 40dbc7fe62f956230bac68faa359078466a3be69 /Source/ctest.cxx | |
parent | b97736a23d5d83eb65b6ee0b0429ada9fb331c12 (diff) | |
download | cmake-8d332091702f34fd1e6c1554f137ac6d85b15dc8.tar.gz |
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.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 2c72b4d25e..fb97af6063 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."}, |