summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-08 13:12:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-11-08 13:13:22 (GMT)
commitf3a4c73c68d8c0e49faaff488b2279c8fc7b0637 (patch)
tree19d5bd7f065525e9425304440af251f94ba33f0f
parent488b976cf170e46c1a8abfcbd41c55d18d5156c1 (diff)
parentbeade1cb425536e876d11d8d3881e3d5493dc775 (diff)
downloadCMake-f3a4c73c68d8c0e49faaff488b2279c8fc7b0637.zip
CMake-f3a4c73c68d8c0e49faaff488b2279c8fc7b0637.tar.gz
CMake-f3a4c73c68d8c0e49faaff488b2279c8fc7b0637.tar.bz2
Merge topic 'tasking_update_toolset_doc' into release-3.25
beade1cb42 Tasking: Update CMAKE_TASKING_TOOLSET documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7880
-rw-r--r--Help/variable/CMAKE_TASKING_TOOLSET.rst11
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``