diff options
author | Brad King <brad.king@kitware.com> | 2009-08-07 14:13:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-08-07 14:13:07 (GMT) |
commit | 115ecc5750deff688d580b48223d865ef8c9bf4c (patch) | |
tree | fe5b5f1bb49130caf43ae1bbd4afbcdfaa377b3d /Modules/Platform | |
parent | 34c6588b6ed7219543e0155e501205ea3048684e (diff) | |
download | CMake-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/Platform')
-rw-r--r-- | Modules/Platform/Linux-VisualAge-C.cmake | 3 | ||||
-rw-r--r-- | Modules/Platform/Linux-VisualAge-Fortran.cmake | 3 | ||||
-rw-r--r-- | Modules/Platform/Linux-XL-C.cmake | 2 | ||||
-rw-r--r-- | Modules/Platform/Linux-XL-Fortran.cmake | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/Modules/Platform/Linux-VisualAge-C.cmake b/Modules/Platform/Linux-VisualAge-C.cmake index 295226b..0622b63 100644 --- a/Modules/Platform/Linux-VisualAge-C.cmake +++ b/Modules/Platform/Linux-VisualAge-C.cmake @@ -1,2 +1 @@ -SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") -SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") +include(Platform/Linux-XL-C) diff --git a/Modules/Platform/Linux-VisualAge-Fortran.cmake b/Modules/Platform/Linux-VisualAge-Fortran.cmake index 295226b..1939a8a 100644 --- a/Modules/Platform/Linux-VisualAge-Fortran.cmake +++ b/Modules/Platform/Linux-VisualAge-Fortran.cmake @@ -1,2 +1 @@ -SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") -SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") +include(Platform/Linux-XL-Fortran) diff --git a/Modules/Platform/Linux-XL-C.cmake b/Modules/Platform/Linux-XL-C.cmake new file mode 100644 index 0000000..08370e2 --- /dev/null +++ b/Modules/Platform/Linux-XL-C.cmake @@ -0,0 +1,2 @@ +SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") +SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") diff --git a/Modules/Platform/Linux-XL-Fortran.cmake b/Modules/Platform/Linux-XL-Fortran.cmake new file mode 100644 index 0000000..08370e2 --- /dev/null +++ b/Modules/Platform/Linux-XL-Fortran.cmake @@ -0,0 +1,2 @@ +SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") +SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") |