diff options
author | Brad King <brad.king@kitware.com> | 2015-04-07 20:33:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-07 20:47:53 (GMT) |
commit | 1e3843373f8e0dfd550809ec034d535d31276b6b (patch) | |
tree | 18467b6471be404ceae08b92b461438d31b992f3 /Source/cmake.cxx | |
parent | 7ee897beec045761e796ac7468ed6e43cd58f1fe (diff) | |
download | CMake-1e3843373f8e0dfd550809ec034d535d31276b6b.zip CMake-1e3843373f8e0dfd550809ec034d535d31276b6b.tar.gz CMake-1e3843373f8e0dfd550809ec034d535d31276b6b.tar.bz2 |
cmake: Show in --help how to select VS target platform (#15422)
* Re-order VS generators from newest to oldest.
* Show how to specify a VS generator with a target platform
* Increase the option output indentation to avoid extra wrapping
with longer generator names.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 5c52a1a..05cfea8 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1817,23 +1817,23 @@ void cmake::AddDefaultGenerators() #if defined(_WIN32) && !defined(__CYGWIN__) # if !defined(CMAKE_BOOT_MINGW) this->Generators.push_back( - cmGlobalVisualStudio6Generator::NewFactory()); - this->Generators.push_back( - cmGlobalVisualStudio7Generator::NewFactory()); + cmGlobalVisualStudio14Generator::NewFactory()); this->Generators.push_back( - cmGlobalVisualStudio10Generator::NewFactory()); + cmGlobalVisualStudio12Generator::NewFactory()); this->Generators.push_back( cmGlobalVisualStudio11Generator::NewFactory()); this->Generators.push_back( - cmGlobalVisualStudio12Generator::NewFactory()); + cmGlobalVisualStudio10Generator::NewFactory()); this->Generators.push_back( - cmGlobalVisualStudio14Generator::NewFactory()); + cmGlobalVisualStudio9Generator::NewFactory()); + this->Generators.push_back( + cmGlobalVisualStudio8Generator::NewFactory()); this->Generators.push_back( cmGlobalVisualStudio71Generator::NewFactory()); this->Generators.push_back( - cmGlobalVisualStudio8Generator::NewFactory()); + cmGlobalVisualStudio7Generator::NewFactory()); this->Generators.push_back( - cmGlobalVisualStudio9Generator::NewFactory()); + cmGlobalVisualStudio6Generator::NewFactory()); this->Generators.push_back( cmGlobalBorlandMakefileGenerator::NewFactory()); this->Generators.push_back( |