diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-04-25 13:43:01 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-04-25 13:43:01 (GMT) |
commit | 764229b5a2f98bcdebd6b901bf2ec2c9847665ef (patch) | |
tree | eb4d976494ad9d2d179afdb41a6c7197ca9d8a0d /Modules/Platform/Linux-Intel-Fortran.cmake | |
parent | 5f689656087b682afede0ef9a377b5bbe2abf4ea (diff) | |
download | CMake-764229b5a2f98bcdebd6b901bf2ec2c9847665ef.zip CMake-764229b5a2f98bcdebd6b901bf2ec2c9847665ef.tar.gz CMake-764229b5a2f98bcdebd6b901bf2ec2c9847665ef.tar.bz2 |
ENH: rename Linux-ifort to Linux-Intel-Fortran
Diffstat (limited to 'Modules/Platform/Linux-Intel-Fortran.cmake')
-rw-r--r-- | Modules/Platform/Linux-Intel-Fortran.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Modules/Platform/Linux-Intel-Fortran.cmake b/Modules/Platform/Linux-Intel-Fortran.cmake new file mode 100644 index 0000000..06de82b --- /dev/null +++ b/Modules/Platform/Linux-Intel-Fortran.cmake @@ -0,0 +1,14 @@ +SET(CMAKE_DL_LIBS "dl") +SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-fPIC") +SET(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-shared") +SET(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-i_dynamic") +SET(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG "-Wl,-rpath,") +SET(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG_SEP ":") +SET(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-Wl,-soname,") +SET(CMAKE_Fortran_MODDIR_FLAG "-module ") + +SET (CMAKE_Fortran_FLAGS_INIT "") +SET (CMAKE_Fortran_FLAGS_DEBUG_INIT "-g") +SET (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os") +SET (CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3") +SET (CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") |