summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-05-24 18:34:40 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-05-24 18:34:40 (GMT)
commit1605784f470c46062e166abdf8a1c634068a53c4 (patch)
treec342ca4cb9a1727804c8e205a84e8315db1a4b5e /Modules/Compiler
parenta78acb2c82ee5eef46877146eaba962e9f3bb09f (diff)
parent8bd3e51a1cff4785c1dbdab33dd8b2fc286c116a (diff)
downloadCMake-1605784f470c46062e166abdf8a1c634068a53c4.zip
CMake-1605784f470c46062e166abdf8a1c634068a53c4.tar.gz
CMake-1605784f470c46062e166abdf8a1c634068a53c4.tar.bz2
Merge topic 'absoft-fortran-compiler'
8bd3e51 Absoft: Enable FortranCInterface check in Fortran test d7b376b Absoft: Detect implicit link libraries on Linux and Mac ac5b999 Add Absoft Fortran compiler id and basic flags
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/Absoft-Fortran.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/Compiler/Absoft-Fortran.cmake b/Modules/Compiler/Absoft-Fortran.cmake
new file mode 100644
index 0000000..bb7d3dc
--- /dev/null
+++ b/Modules/Compiler/Absoft-Fortran.cmake
@@ -0,0 +1,8 @@
+SET(CMAKE_Fortran_FLAGS_INIT "")
+SET(CMAKE_Fortran_FLAGS_DEBUG_INIT "-g")
+SET(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "")
+SET(CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3")
+SET(CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
+SET(CMAKE_Fortran_MODDIR_FLAG "-YMOD_OUT_DIR=")
+SET(CMAKE_Fortran_MODPATH_FLAG "-p")
+SET(CMAKE_Fortran_VERBOSE_FLAG "-v")