PGI-DetermineCompiler.cmake 304 B

123456789
  1. set(_compiler_id_pp_test "defined(__PGI)")
  2. set(_compiler_id_version_compute "
  3. # define @PREFIX@COMPILER_VERSION_MAJOR DEC(__PGIC__)
  4. # define @PREFIX@COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
  5. # if defined(__PGIC_PATCHLEVEL__)
  6. # define @PREFIX@COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
  7. # endif")