diff options
author | Brad King <brad.king@kitware.com> | 2011-01-21 18:09:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-05-20 12:53:36 (GMT) |
commit | ac5b999fffc88a1db3d4558e2dd6fd104cf2258a (patch) | |
tree | 917688f127afb619c7f1c3fa604db135e508cf40 /Modules/Compiler | |
parent | 73827b92059a3548406c35978d3ec05a456aced4 (diff) | |
download | CMake-ac5b999fffc88a1db3d4558e2dd6fd104cf2258a.zip CMake-ac5b999fffc88a1db3d4558e2dd6fd104cf2258a.tar.gz CMake-ac5b999fffc88a1db3d4558e2dd6fd104cf2258a.tar.bz2 |
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.cmake | 8 |
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") |