Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Help / variable / CMAKE_TASKING_TOOLSET.rst
1 CMAKE_TASKING_TOOLSET
2 ---------------------
3
4 .. versionadded:: 3.25
5
6 Select the Tasking toolset which provides the compiler
7
8 Architecture compilers are provided by different toolchains with
9 incompatible versioning schemes.  Set this variable in a
10 :variable:`toolchain file <CMAKE_TOOLCHAIN_FILE>` so CMake can detect
11 the compiler features correctly. If no toolset is specified,
12 ``Standalone`` is assumed.
13
14 Due to the different versioning schemes, the compiler version
15 (:variable:`CMAKE_<LANG>_COMPILER_VERSION`) depends on the toolset and
16 architecture in use. If projects can be built with multiple toolsets or
17 architectures, the specified :variable:`CMAKE_TASKING_TOOLSET` and the
18 automatically determined :variable:`CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID`
19 must be taken into account when comparing against the
20 :variable:`CMAKE_<LANG>_COMPILER_VERSION`.
21
22 ``TriCore``
23   Compilers are provided by the TriCore toolset.
24
25 ``SmartCode``
26   Compilers are provided by the SmartCode toolset.
27
28 ``Standalone``
29   Compilers are provided by the standalone toolsets.
30
31   .. note::
32
33     For the TriCore architecture, the compiler from the TriCore toolset is
34     selected as standalone compiler.