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