diff options
author | Brad King <brad.king@kitware.com> | 2014-06-05 15:31:00 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-06-05 15:31:00 (GMT) |
commit | 88818b680549651b6531a6648396d749b759afb2 (patch) | |
tree | d647c967a515bf2601e13dafedc8ddf67b4e0c03 /Help/variable | |
parent | 64f399322051c16ea1a81cde19d5eec0fb846ca9 (diff) | |
parent | 528e8af19f68c01c3a42af9e74801a39c16237dd (diff) | |
download | CMake-88818b680549651b6531a6648396d749b759afb2.zip CMake-88818b680549651b6531a6648396d749b759afb2.tar.gz CMake-88818b680549651b6531a6648396d749b759afb2.tar.bz2 |
Merge topic 'delay-generator-toolset'
528e8af1 Allow a toolchain file to specify a generator toolset
98afb454 VS: Split user- and generator-provided PlatformToolset
3e9f6e36 Xcode: Rename internal variable {Platform => Generator}Toolset
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_GENERATOR_TOOLSET.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_GENERATOR_TOOLSET.rst b/Help/variable/CMAKE_GENERATOR_TOOLSET.rst index 4540eaa..9ccc8b3 100644 --- a/Help/variable/CMAKE_GENERATOR_TOOLSET.rst +++ b/Help/variable/CMAKE_GENERATOR_TOOLSET.rst @@ -7,3 +7,9 @@ Some CMake generators support a toolset name to be given to the native build system to choose a compiler. If the user specifies a toolset name (e.g. via the cmake -T option) 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` +variable may initialize ``CMAKE_GENERATOR_TOOLSET``. Once a given +build tree has been initialized with a particular value for this +variable, changing the value has undefined behavior. |