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