summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/XL-Fortran.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-08-07 14:13:07 (GMT)
committerBrad King <brad.king@kitware.com>2009-08-07 14:13:07 (GMT)
commit115ecc5750deff688d580b48223d865ef8c9bf4c (patch)
treefe5b5f1bb49130caf43ae1bbd4afbcdfaa377b3d /Modules/Compiler/XL-Fortran.cmake
parent34c6588b6ed7219543e0155e501205ea3048684e (diff)
downloadCMake-115ecc5750deff688d580b48223d865ef8c9bf4c.zip
CMake-115ecc5750deff688d580b48223d865ef8c9bf4c.tar.gz
CMake-115ecc5750deff688d580b48223d865ef8c9bf4c.tar.bz2
Teach compiler id about VisualAge -> XL rebranding
IBM rebranded its VisualAge compiler to XL starting at version 8.0. We use the compiler id "XL" for newer versions and "VisualAge" for older versions. We now also recognize the "z/OS" compiler, which is distinct from XL.
Diffstat (limited to 'Modules/Compiler/XL-Fortran.cmake')
-rw-r--r--Modules/Compiler/XL-Fortran.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/XL-Fortran.cmake b/Modules/Compiler/XL-Fortran.cmake
new file mode 100644
index 0000000..49d6bb2
--- /dev/null
+++ b/Modules/Compiler/XL-Fortran.cmake
@@ -0,0 +1,2 @@
+SET(CMAKE_Fortran_VERBOSE_FLAG "-V")
+SET(CMAKE_Fortran_DEFINE_FLAG "-WF,-D")