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

set(_compiler_id_pp_test "defined(__HP_cc)")

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