From beade1cb425536e876d11d8d3881e3d5493dc775 Mon Sep 17 00:00:00 2001 From: Christoph Seitz Date: Mon, 7 Nov 2022 12:12:02 +0100 Subject: Tasking: Update CMAKE_TASKING_TOOLSET documentation Clarify the relationship between the compiler version and toolset/architecture. Fixes: #24117 --- Help/variable/CMAKE_TASKING_TOOLSET.rst | 11 +++++++---- 1 file 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 ` 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__COMPILER_ARCHITECTURE_ID` into account to qualify +Due to the different versioning schemes, the compiler version +(:variable:`CMAKE__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__COMPILER_ARCHITECTURE_ID` +must be taken into account when comparing against the :variable:`CMAKE__COMPILER_VERSION`. ``TriCore`` -- cgit v0.12