summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/HP-CXX-DetermineCompiler.cmake
blob: 3d4d7e49442ef129b6add2afda1cf0d43c1c341d (plain)
1
2
3
4
5
6
7
8

set(_compiler_id_pp_test "defined(__HP_aCC)")

set(_compiler_id_version_compute "
  /* __HP_aCC = VVRRPP */
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__HP_aCC/10000)
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__HP_aCC/100 % 100)
# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__HP_aCC     % 100)")