diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-11 22:37:38 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-11 22:37:38 (GMT) |
commit | c3b7f618d1e0639b0ffa93bc8c6728ab53513538 (patch) | |
tree | 067e3d971eb7ab5a50d751a2ecec2424c417f1a4 /Modules/Platform | |
parent | ee886fbbdba89aa0b850ee14d75c9f87211e3325 (diff) | |
download | CMake-c3b7f618d1e0639b0ffa93bc8c6728ab53513538.zip CMake-c3b7f618d1e0639b0ffa93bc8c6728ab53513538.tar.gz CMake-c3b7f618d1e0639b0ffa93bc8c6728ab53513538.tar.bz2 |
ENH: add support for xlf with -WF,-D for -D
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/AIX-VisualAge-Fortran.cmake | 1 | ||||
-rw-r--r-- | Modules/Platform/Linux-VisualAge-Fortran.cmake | 1 | ||||
-rw-r--r-- | Modules/Platform/xlf.cmake | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/AIX-VisualAge-Fortran.cmake b/Modules/Platform/AIX-VisualAge-Fortran.cmake new file mode 100644 index 0000000..10c29c2 --- /dev/null +++ b/Modules/Platform/AIX-VisualAge-Fortran.cmake @@ -0,0 +1 @@ +include(Platforms/xlf) diff --git a/Modules/Platform/Linux-VisualAge-Fortran.cmake b/Modules/Platform/Linux-VisualAge-Fortran.cmake index 295226b..e8fee37 100644 --- a/Modules/Platform/Linux-VisualAge-Fortran.cmake +++ b/Modules/Platform/Linux-VisualAge-Fortran.cmake @@ -1,2 +1,3 @@ SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") +include(Platforms/xlf) diff --git a/Modules/Platform/xlf.cmake b/Modules/Platform/xlf.cmake new file mode 100644 index 0000000..4939e6c --- /dev/null +++ b/Modules/Platform/xlf.cmake @@ -0,0 +1 @@ +set(CMAKE_DEFINE_FLAG_Fortran "-WF,-D") |