summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-11-11 18:58:55 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-11-11 18:58:55 (GMT)
commit619151d0143e94c06b8dbc5a7ea8fdbc9e6cc22f (patch)
tree6209f37eed8595e23662ccfabf0e92edd0f6fd65 /Modules
parenta4f04d581705b5a33a2801ed62300db24b82bd22 (diff)
downloadCMake-619151d0143e94c06b8dbc5a7ea8fdbc9e6cc22f.zip
CMake-619151d0143e94c06b8dbc5a7ea8fdbc9e6cc22f.tar.gz
CMake-619151d0143e94c06b8dbc5a7ea8fdbc9e6cc22f.tar.bz2
ENH: fix fortran flags on g77 windows
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Windows-g77.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-g77.cmake b/Modules/Platform/Windows-g77.cmake
index 193b925..ad24db6 100644
--- a/Modules/Platform/Windows-g77.cmake
+++ b/Modules/Platform/Windows-g77.cmake
@@ -14,3 +14,10 @@ SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "") # -rpath
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") # : or empty
SET(CMAKE_LIBRARY_PATH_FLAG "-L")
SET(CMAKE_LINK_LIBRARY_FLAG "-l")
+SET (CMAKE_Fortran_FLAGS_INIT "")
+SET (CMAKE_Fortran_FLAGS_DEBUG_INIT "-g")
+SET (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-O1")
+SET (CMAKE_Fortran_FLAGS_RELEASE_INIT "-O2")
+SET (CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-02 -g")
+
+