summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake
blob: 899e284addafca2d4bce5a449e2b1d6ab4194b1f (plain)
1
2
3
4
5
6

set(_compiler_id_version_compute "
  /* __IBMC__ = VRP */
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__IBMC__/100)
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__IBMC__/10 % 10)
# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__IBMC__    % 10)")