diff options
author | Christoph Seitz <christoph.seitz@infineon.com> | 2022-11-07 11:12:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-11-07 14:24:03 (GMT) |
commit | beade1cb425536e876d11d8d3881e3d5493dc775 (patch) | |
tree | 260659af6802d4ea9d00cee5d666bc8c894857aa /Help | |
parent | 7c52e9e9511ecbd3dad2d0de493ea7329a860c5f (diff) | |
download | CMake-beade1cb425536e876d11d8d3881e3d5493dc775.zip CMake-beade1cb425536e876d11d8d3881e3d5493dc775.tar.gz CMake-beade1cb425536e876d11d8d3881e3d5493dc775.tar.bz2 |
Tasking: Update CMAKE_TASKING_TOOLSET documentation
Clarify the relationship between the compiler version and
toolset/architecture.
Fixes: #24117
Diffstat (limited to 'Help')
-rw-r--r-- | Help/variable/CMAKE_TASKING_TOOLSET.rst | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Help/variable/CMAKE_TASKING_TOOLSET.rst b/Help/variable/CMAKE_TASKING_TOOLSET.rst index 940606b..6bd1479 100644 --- a/Help/variable/CMAKE_TASKING_TOOLSET.rst +++ b/Help/variable/CMAKE_TASKING_TOOLSET.rst @@ -8,12 +8,15 @@ Select the Tasking toolset which provides the compiler Architecture compilers are provided by different toolchains with incompatible versioning schemes. Set this variable in a :variable:`toolchain file <CMAKE_TOOLCHAIN_FILE>` so CMake can detect -the compiler and version correctly. If no toolset is specified, +the compiler features correctly. If no toolset is specified, ``Standalone`` is assumed. -Projects that can be built with different architectures and/or toolsets must -take :variable:`CMAKE_TASKING_TOOLSET` and -:variable:`CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID` into account to qualify +Due to the different versioning schemes, the compiler version +(:variable:`CMAKE_<LANG>_COMPILER_VERSION`) depends on the toolset and +architecture in use. If projects can be built with multiple toolsets or +architectures, the specified :variable:`CMAKE_TASKING_TOOLSET` and the +automatically determined :variable:`CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID` +must be taken into account when comparing against the :variable:`CMAKE_<LANG>_COMPILER_VERSION`. ``TriCore`` |