[cmake-commits] king committed Linux-GNU-Fortran.cmake NONE 1.1 Linux-SunPro-Fortran.cmake 1.2 1.3 Linux-ifort.cmake 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Dec 30 16:11:40 EST 2007


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv20471/Modules/Platform

Modified Files:
	Linux-SunPro-Fortran.cmake Linux-ifort.cmake 
Added Files:
	Linux-GNU-Fortran.cmake 
Log Message:
ENH: Implemented Fortran module output directory and search path flags.


--- NEW FILE: Linux-GNU-Fortran.cmake ---
SET(CMAKE_Fortran_MODDIR_FLAG -J)

Index: Linux-ifort.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/Linux-ifort.cmake,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Linux-ifort.cmake	10 Oct 2007 21:47:37 -0000	1.3
+++ Linux-ifort.cmake	30 Dec 2007 21:11:37 -0000	1.4
@@ -5,3 +5,4 @@
 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 ")

Index: Linux-SunPro-Fortran.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/Linux-SunPro-Fortran.cmake,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Linux-SunPro-Fortran.cmake	3 May 2007 12:24:32 -0000	1.2
+++ Linux-SunPro-Fortran.cmake	30 Dec 2007 21:11:37 -0000	1.3
@@ -12,3 +12,5 @@
 SET(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-xO2 -xspace -DNDEBUG")
 SET(CMAKE_Fortran_FLAGS_RELEASE_INIT "-xO3 -DNDEBUG")
 SET(CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-g -xO2")
+SET(CMAKE_Fortran_MODDIR_FLAG "-moddir=")
+SET(CMAKE_Fortran_MODPATH_FLAG "-M")



More information about the Cmake-commits mailing list