Tasking-DetermineCompiler.cmake 490 B

12345678910
  1. # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. # file Copyright.txt or https://cmake.org/licensing for details.
  3. set(_compiler_id_pp_test "defined(__TASKING__)")
  4. set(_compiler_id_version_compute "
  5. # define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__VERSION__/1000)
  6. # define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__VERSION__ % 100)")
  7. string(APPEND _compiler_id_version_compute "
  8. # define @PREFIX@COMPILER_VERSION_INTERNAL @MACRO_DEC@(__VERSION__)")