summaryrefslogtreecommitdiff
path: root/share/cmake-3.10/Modules/Platform/Windows-Intel-Fortran.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.10/Modules/Platform/Windows-Intel-Fortran.cmake')
-rw-r--r--share/cmake-3.10/Modules/Platform/Windows-Intel-Fortran.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/cmake-3.10/Modules/Platform/Windows-Intel-Fortran.cmake b/share/cmake-3.10/Modules/Platform/Windows-Intel-Fortran.cmake
new file mode 100644
index 0000000..3981a09
--- /dev/null
+++ b/share/cmake-3.10/Modules/Platform/Windows-Intel-Fortran.cmake
@@ -0,0 +1,11 @@
+include(Platform/Windows-Intel)
+set(CMAKE_BUILD_TYPE_INIT Debug)
+set(_COMPILE_Fortran " /fpp")
+set(CMAKE_Fortran_MODDIR_FLAG "-module:")
+set(CMAKE_Fortran_STANDARD_LIBRARIES_INIT "user32.lib")
+__windows_compiler_intel(Fortran)
+string(APPEND CMAKE_Fortran_FLAGS_INIT " /W1 /nologo /fpp /libs:dll /threads")
+string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT " /Od /debug:full /dbglibs")
+string(APPEND CMAKE_Fortran_FLAGS_MINSIZEREL_INIT " /O1 /DNDEBUG")
+string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " /O2 /DNDEBUG")
+string(APPEND CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT " /O2 /debug:full /DNDEBUG")