diff options
author | Brad King <brad.king@kitware.com> | 2022-11-08 13:12:33 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-11-08 13:13:23 (GMT) |
commit | 22c39edd9d3c1174271d4c7cb37aad643da6946a (patch) | |
tree | c433c8aa5bb43a8b4c54f680e6fcfa04d22ebcd7 /Help | |
parent | 06adf61df8eba4d937983ae12c698e68c5a5898b (diff) | |
parent | beade1cb425536e876d11d8d3881e3d5493dc775 (diff) | |
download | CMake-22c39edd9d3c1174271d4c7cb37aad643da6946a.zip CMake-22c39edd9d3c1174271d4c7cb37aad643da6946a.tar.gz CMake-22c39edd9d3c1174271d4c7cb37aad643da6946a.tar.bz2 |
Merge topic 'tasking_update_toolset_doc'
beade1cb42 Tasking: Update CMAKE_TASKING_TOOLSET documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7880
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`` |