summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake
blob: 73aa2b4f9383421f61a02a9755d96cdc4e391f0c (plain)
1
2
3
4
5
6

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