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

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