Help: Cross-reference generator platform variables

This commit is contained in:
Brad King
2017-03-13 10:03:17 -04:00
parent 7df38939f9
commit 35c5cddcc5
2 changed files with 7 additions and 0 deletions

View File

@@ -20,3 +20,9 @@ Platform specification is supported only on specific generators:
specifies the target architecture.
See native build system documentation for allowed platform names.
Visual Studio Platform Selection
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
On :ref:`Visual Studio Generators` the selected platform name
is provided in the :variable:`CMAKE_VS_PLATFORM_NAME` variable.

View File

@@ -5,3 +5,4 @@ Visual Studio target platform name.
VS 8 and above allow project files to specify a target platform.
CMake provides the name of the chosen platform in this variable.
See the :variable:`CMAKE_GENERATOR_PLATFORM` variable for details.