summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_GENERATOR_TOOLSET.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Replace mentions of ``-T`` and ``-A`` options with roleAlex Turbov2022-08-041-1/+1
|
* VS: Add a mostly-undocumented hook to load custom JSON flag tablesBrad King2021-03-221-0/+24
| | | | | | | | | | | The names and formats of our VS flag tables are internal implementation details. However, some institutions need to maintain support for non-public VS platforms and toolsets. Provide a hook that their projects can use to load custom flag table files. This helps avoid distributing a custom CMake package within such institutions. Document the hook itself, but explicitly specify that the files the hook loads are not considered a stable interface.
* VS: Add support to override VCTargetsPath through toolsetAlexander Boczar2019-10-151-0/+5
| | | | Fixes: #19708
* cuda: Added docs for extended cuda toolsetBenjamin Wozniak2019-08-301-4/+7
|
* Help: Add documentation for default generator environment variablesEicke Herbertz2019-05-221-1/+2
| | | | | | | | | | Documentation for environment variables that control the default generator selection: * CMAKE_GENERATOR * CMAKE_GENERATOR_INSTANCE * CMAKE_GENERATOR_PLATFORM * CMAKE_GENERATOR_TOOLSET
* VS: Add support for explicit 32-bit toolset selection via host=x86Brad King2019-01-281-2/+2
| | | | | Generalize the ``host=x64`` option in `CMAKE_GENERATOR_TOOLSET` to also support ``host=x86``.
* GHS: Add toolset selection supportFred Baksik2018-07-111-0/+1
| | | | | | | | | | | | | | | | -- Use the specified toolset located within GHS_TOOLSET_ROOT -- Update how the latest toolset is determined; scan the location GHS_TOOLSET_ROOT and sort it No longer use registry settings looking for installations The registry values are assigned in installation order for Green Hills tools not version order -- Update to use gbuild.exe from the proper toolset -- Clarify that CMAKE_MAKE_PROGRAM should not be set by user. -- Detect some toolset changes when regenerating project files This could occur if GHS_TOOLSET_ROOT was changed by user after the initial project generation This could occur if CMAKE_MAKE_PROGRAM was changed at the command line -- Use placeholder values for CMAKE_<LANG>_COMPILER The MULTI build system only uses gbuild to build a project gbuild uses the project file to determine which set of compilers to use based on target platform and architecture because compiler detection is skipped, placeholder values are used so that CMake does not complain
* VS: Add option to select the version of the toolset used by VS 2017Basil Fierz2018-05-291-0/+5
| | | | | | | | Add new `version=` parameter in the toolset setting to select the version. Add variable `CMAKE_VS_PLATFORM_TOOLSET_VERSION` to hold the version, if one is set (blank indicates default). Fixes: #17549
* Help: Document VS generator toolset specification syntaxBrad King2017-03-131-1/+23
|
* Help: Cross-reference generator toolset variablesBrad King2017-03-131-0/+6
|
* Help: Move generator toolset support details to variable docsBrad King2017-03-131-5/+12
| | | | | | | Move the details about support for generator toolset specification to the `CMAKE_GENERATOR_TOOLSET` variable documentation. This is a more suitable place because it is shared by all means to set this variable, not just the `cmake -T` option.
* Help: Improve formatting of variable documentationJames Johnston2015-08-211-2/+2
| | | | | | | | Improve formatting, primarily by: * Adding links to relevant commands, properties, generators, and so on. * Converting code, symbols, paths, and so on to fixed-width fonts. * Hard wrapping lines to 80 characters or less.
* Allow a toolchain file to specify a generator toolsetBrad King2014-06-041-0/+6
| | | | | | | | | | | | | | | | | | | | Delay use of CMAKE_GENERATOR_TOOLSET until the CMakeSystem.cmake file has been configured and loaded during the first project() or enable_language() command. This gives the toolchain file named by CMAKE_TOOLCHAIN_FILE a chance to set CMAKE_GENERATOR_TOOLSET. This point is still early enough to set the generator toolset prior to the initialization of any languages that might use the toolset. The cmake::GeneratorToolset member variable remains an indication of what was specified by the -T option or loaded from the cache. It does not need to be updated based on the toolchain file setting. The cmMakefile::TryCompile can still pass cmake::GeneratorToolset into the inner instance because the try-compiled project will do platform and language initialization using the CMakeSystem module configured for the outer project. Extend the RunCMake.GeneratorToolset test with cases that use a toolchain file to set CMAKE_GENERATOR_TOOLSET.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-0/+9
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.