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/cmGlobalVisualStudio9Generator.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/cmGlobalVisualStudio9Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio9Generator.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx index 1d73b5c..1bc627f 100644 --- a/Source/cmGlobalVisualStudio9Generator.cxx +++ b/Source/cmGlobalVisualStudio9Generator.cxx @@ -70,8 +70,11 @@ public: } virtual void GetDocumentation(cmDocumentationEntry& entry) const { - entry.Name = vs9generatorName; - entry.Brief = "Generates Visual Studio 9 2008 project files."; + entry.Name = std::string(vs9generatorName) + " [arch]"; + entry.Brief = + "Generates Visual Studio 2008 project files. " + "Optional [arch] can be \"Win64\" or \"IA64\"." + ; } virtual void GetGenerators(std::vector<std::string>& names) const { |