summaryrefslogtreecommitdiff
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-21 13:09:22 -0500
committerBrad King <brad.king@kitware.com>2011-05-20 08:53:36 -0400
commitac5b999fffc88a1db3d4558e2dd6fd104cf2258a (patch)
tree917688f127afb619c7f1c3fa604db135e508cf40 /Modules/Compiler
parent73827b92059a3548406c35978d3ec05a456aced4 (diff)
downloadcmake-ac5b999fffc88a1db3d4558e2dd6fd104cf2258a.tar.gz
Add Absoft Fortran compiler id and basic flags
Identification at preprocessing time depends on definition of __ABSOFT__ to be added in service pack V11.1.2 of the compiler.
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 0000000000..bb7d3dc713
--- /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")