gbe_fork/cmake/share/cmake-3.30/Modules/Compiler/CrayClang-DetermineCompiler.cmake
2024-08-19 00:34:28 +02:00

9 lines
389 B
CMake

set(_compiler_id_pp_test "defined(__clang__) && defined(__cray__)")
set(_compiler_id_version_compute "
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__cray_major__)
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__cray_minor__)
# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__cray_patchlevel__)
# define @PREFIX@COMPILER_VERSION_INTERNAL_STR __clang_version__
")