diff options
author | Brad King <brad.king@kitware.com> | 2009-12-02 14:52:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-12-02 14:52:00 (GMT) |
commit | e28c16b482ace7a27ddd9c3680ce942ca83a9f38 (patch) | |
tree | f2f47fe778e7535335d5ee800c32bf22d42cb97f /Modules/Platform/Linux-GNU-Fortran.cmake | |
parent | f3cd66577f3ed061123b1145f557eb28b80520dd (diff) | |
download | CMake-e28c16b482ace7a27ddd9c3680ce942ca83a9f38.zip CMake-e28c16b482ace7a27ddd9c3680ce942ca83a9f38.tar.gz CMake-e28c16b482ace7a27ddd9c3680ce942ca83a9f38.tar.bz2 |
Split GNU compiler information files
This moves GNU compiler flags into new-style modules
Compiler/GNU-<lang>.cmake
Platform/<os>-GNU-<lang>.cmake
We use language-independent helper modules
Compiler/GNU.cmake
Platform/<os>-GNU.cmake
to define macros consolidating the information.
Diffstat (limited to 'Modules/Platform/Linux-GNU-Fortran.cmake')
-rw-r--r-- | Modules/Platform/Linux-GNU-Fortran.cmake | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Modules/Platform/Linux-GNU-Fortran.cmake b/Modules/Platform/Linux-GNU-Fortran.cmake deleted file mode 100644 index 16d63fc..0000000 --- a/Modules/Platform/Linux-GNU-Fortran.cmake +++ /dev/null @@ -1,16 +0,0 @@ -SET(CMAKE_Fortran_MODDIR_FLAG -J) -SET (CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-fPIC") # -pic -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") - -IF(NOT APPLE) - SET (CMAKE_INCLUDE_SYSTEM_FLAG_Fortran "-isystem ") -ENDIF(NOT APPLE) - -# These will require updates to CMake C++ code to support -# preprocessing rules for Fortran. -#SET (CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE "<CMAKE_Fortran_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") -#SET (CMAKE_Fortran_CREATE_ASSEMBLY_SOURCE "<CMAKE_Fortran_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>") |