summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/HP-CXX-DetermineCompiler.cmake
blob: 699949231418d87f3a95cf8ace9a629a6f68bca9 (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 DEC(__HP_aCC/10000)
# define @PREFIX@COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
# define @PREFIX@COMPILER_VERSION_PATCH DEC(__HP_aCC     % 100)")