summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-g77.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Windows-g77.cmake')
-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")
+
+