diff options
author | Brad King <brad.king@kitware.com> | 2012-12-10 21:53:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-02-07 16:08:32 (GMT) |
commit | e3841cf4a275a65ea6306e980da7dfef78a8c57d (patch) | |
tree | ae2b6f839780130f869a20b23df356251167868b /Source/ctest.cxx | |
parent | f980a8049522782779b3a721c37f976de1e38dcc (diff) | |
download | CMake-e3841cf4a275a65ea6306e980da7dfef78a8c57d.zip CMake-e3841cf4a275a65ea6306e980da7dfef78a8c57d.tar.gz CMake-e3841cf4a275a65ea6306e980da7dfef78a8c57d.tar.bz2 |
CTest: Add options to set generator toolset
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_TOOLSET for -T.
The "ctest --build-and-test" mode already has "--build-generator" to
specify the -G option to CMake. Add a "--build-generator-toolset" option
to specify the -T value.
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 d650777..5913914 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -187,6 +187,7 @@ static const char * cmDocumentationOptions[][3] = {"--build-two-config", "Run CMake twice", "" }, {"--build-exe-dir", "Specify the directory for the executable.", "" }, {"--build-generator", "Specify the generator to use.", "" }, + {"--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.", "" }, {"--build-noclean", "Skip the make clean step.", "" }, |