summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_GENERATOR_PLATFORM.rst
diff options
context:
space:
mode:
authorEicke Herbertz <wolletd@posteo.de>2019-04-11 22:50:33 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-22 11:40:49 (GMT)
commita48ce8f4bf0677e9e8d054892836e8a980ffa435 (patch)
treedc287ce52f3e6b425d25b789f2951d37a2c4dbd3 /Help/variable/CMAKE_GENERATOR_PLATFORM.rst
parent083cf7e8a2515d9f838f3edbb2724fd3b17d83cd (diff)
downloadCMake-a48ce8f4bf0677e9e8d054892836e8a980ffa435.zip
CMake-a48ce8f4bf0677e9e8d054892836e8a980ffa435.tar.gz
CMake-a48ce8f4bf0677e9e8d054892836e8a980ffa435.tar.bz2
Help: Add documentation for default generator environment variables
Documentation for environment variables that control the default generator selection: * CMAKE_GENERATOR * CMAKE_GENERATOR_INSTANCE * CMAKE_GENERATOR_PLATFORM * CMAKE_GENERATOR_TOOLSET
Diffstat (limited to 'Help/variable/CMAKE_GENERATOR_PLATFORM.rst')
-rw-r--r--Help/variable/CMAKE_GENERATOR_PLATFORM.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/variable/CMAKE_GENERATOR_PLATFORM.rst b/Help/variable/CMAKE_GENERATOR_PLATFORM.rst
index 963f0a4..2c115a3 100644
--- a/Help/variable/CMAKE_GENERATOR_PLATFORM.rst
+++ b/Help/variable/CMAKE_GENERATOR_PLATFORM.rst
@@ -6,7 +6,8 @@ Generator-specific target platform specification provided by user.
Some CMake generators support a target platform name to be given
to the native build system to choose a compiler toolchain.
If the user specifies a platform name (e.g. via the :manual:`cmake(1)` ``-A``
-option) the value will be available in this variable.
+option or via the :envvar:`CMAKE_GENERATOR_PLATFORM` environment variable)
+the value will be available in this variable.
The value of this variable should never be modified by project code.
A toolchain file specified by the :variable:`CMAKE_TOOLCHAIN_FILE`