CMake/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake

7 lines
267 B
CMake
Raw Normal View History

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)")