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