summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-01-11 22:37:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-01-11 22:37:38 (GMT)
commitc3b7f618d1e0639b0ffa93bc8c6728ab53513538 (patch)
tree067e3d971eb7ab5a50d751a2ecec2424c417f1a4 /Modules/Platform
parentee886fbbdba89aa0b850ee14d75c9f87211e3325 (diff)
downloadCMake-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.cmake1
-rw-r--r--Modules/Platform/Linux-VisualAge-Fortran.cmake1
-rw-r--r--Modules/Platform/xlf.cmake1
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")