mirror of
https://github.com/reactos/CMake.git
synced 2025-02-06 20:06:45 +00:00
Fortran: Detect XL and VisualAge compiler versions
Port logic from the "Compiler/XL-*-DetermineCompiler" and "Compiler/VisualAge-*-DetermineCompiler" modules into "CMakeFortranCompilerId.F.in".
This commit is contained in:
parent
8c8b77a5de
commit
302d47b1fe
@ -68,8 +68,14 @@
|
||||
PRINT *, 'INFO:compiler[zOS]'
|
||||
# elif __IBMC__ >= 800
|
||||
PRINT *, 'INFO:compiler[XL]'
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
# else
|
||||
PRINT *, 'INFO:compiler[VisualAge]'
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
# endif
|
||||
#elif defined(__PGI)
|
||||
PRINT *, 'INFO:compiler[PGI]'
|
||||
|
Loading…
x
Reference in New Issue
Block a user