From 39c898a107269a488b9dcb72bf99c545ab35e54c Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 30 Sep 2016 11:50:46 -0400 Subject: [PATCH] Help: Clarify that `cmake -A` option sets VS IDE target architecture --- Help/generator/Visual Studio 10 2010.rst | 2 +- Help/generator/Visual Studio 11 2012.rst | 2 +- Help/generator/Visual Studio 12 2013.rst | 2 +- Help/generator/Visual Studio 14 2015.rst | 2 +- Help/generator/Visual Studio 15.rst | 2 +- Help/manual/OPTIONS_BUILD.txt | 8 +++++--- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Help/generator/Visual Studio 10 2010.rst b/Help/generator/Visual Studio 10 2010.rst index 77ea9df02..c694443bf 100644 --- a/Help/generator/Visual Studio 10 2010.rst +++ b/Help/generator/Visual Studio 10 2010.rst @@ -4,7 +4,7 @@ Visual Studio 10 2010 Generates Visual Studio 10 (VS 2010) project files. The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set -to specify a target platform name. +to specify a target platform name (architecture). For compatibility with CMake versions prior to 3.1, one may specify a target platform name optionally at the end of this generator name: diff --git a/Help/generator/Visual Studio 11 2012.rst b/Help/generator/Visual Studio 11 2012.rst index 5fa7f2c76..2f1e72969 100644 --- a/Help/generator/Visual Studio 11 2012.rst +++ b/Help/generator/Visual Studio 11 2012.rst @@ -4,7 +4,7 @@ Visual Studio 11 2012 Generates Visual Studio 11 (VS 2012) project files. The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set -to specify a target platform name. +to specify a target platform name (architecture). For compatibility with CMake versions prior to 3.1, one may specify a target platform name optionally at the end of this generator name: diff --git a/Help/generator/Visual Studio 12 2013.rst b/Help/generator/Visual Studio 12 2013.rst index 2c3b119a4..6e8545b6a 100644 --- a/Help/generator/Visual Studio 12 2013.rst +++ b/Help/generator/Visual Studio 12 2013.rst @@ -4,7 +4,7 @@ Visual Studio 12 2013 Generates Visual Studio 12 (VS 2013) project files. The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set -to specify a target platform name. +to specify a target platform name (architecture). For compatibility with CMake versions prior to 3.1, one may specify a target platform name optionally at the end of this generator name: diff --git a/Help/generator/Visual Studio 14 2015.rst b/Help/generator/Visual Studio 14 2015.rst index b35997a10..707caf969 100644 --- a/Help/generator/Visual Studio 14 2015.rst +++ b/Help/generator/Visual Studio 14 2015.rst @@ -4,7 +4,7 @@ Visual Studio 14 2015 Generates Visual Studio 14 (VS 2015) project files. The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set -to specify a target platform name. +to specify a target platform name (architecture). For compatibility with CMake versions prior to 3.1, one may specify a target platform name optionally at the end of this generator name: diff --git a/Help/generator/Visual Studio 15.rst b/Help/generator/Visual Studio 15.rst index 2b9e33a15..ae456eba5 100644 --- a/Help/generator/Visual Studio 15.rst +++ b/Help/generator/Visual Studio 15.rst @@ -4,7 +4,7 @@ Visual Studio 15 Generates Visual Studio 15 project files. The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set -to specify a target platform name. +to specify a target platform name (architecture). For compatibility with CMake versions prior to 3.1, one may specify a target platform name optionally at the end of this generator name: diff --git a/Help/manual/OPTIONS_BUILD.txt b/Help/manual/OPTIONS_BUILD.txt index b428a74d7..fa0e4c11b 100644 --- a/Help/manual/OPTIONS_BUILD.txt +++ b/Help/manual/OPTIONS_BUILD.txt @@ -66,10 +66,12 @@ Specify platform name if supported by generator. Some CMake generators support a platform name to be given to the - native build system to choose a compiler or SDK. This is supported only on - specific generators:: + native build system to choose a compiler or SDK. See the + :variable:`CMAKE_GENERATOR_PLATFORM` variable. + This is supported only on specific generators: - Visual Studio >= 8 + * For :ref:`Visual Studio Generators` with VS 2005 and above this + specifies the target architecture. See native build system documentation for allowed platform names.