CMAKE_GENERATOR_TOOLSET.rst 646 B

123456789101112131415
  1. CMAKE_GENERATOR_TOOLSET
  2. -----------------------
  3. Native build system toolset name specified by user.
  4. Some CMake generators support a toolset name to be given to the native
  5. build system to choose a compiler. If the user specifies a toolset
  6. name (e.g. via the cmake -T option) the value will be available in
  7. this variable.
  8. The value of this variable should never be modified by project code.
  9. A toolchain file specified by the :variable:`CMAKE_TOOLCHAIN_FILE`
  10. variable may initialize ``CMAKE_GENERATOR_TOOLSET``. Once a given
  11. build tree has been initialized with a particular value for this
  12. variable, changing the value has undefined behavior.