CMAKE_TASKING_TOOLSET.rst 1.1 KB

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