summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/PathScale-DetermineCompiler.cmake
blob: 4eb81dec73530876c2d517cd4a24b137dc5a0070 (plain)
1
2
3
4
5
6
7
8
9

set(_compiler_id_pp_test "defined(__PATHCC__)")

set(_compiler_id_version_compute "
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__PATHCC__)
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
#  define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__PATHCC_PATCHLEVEL__)
# endif")