[cmake-commits] king committed Windows-ifort.cmake 1.4 1.5

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 17 19:58:03 EST 2008


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

Modified Files:
	Windows-ifort.cmake 
Log Message:
ENH: Enable use of COMPILE_DEFINITIONS property for Fortran sources.


Index: Windows-ifort.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/Windows-ifort.cmake,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Windows-ifort.cmake	9 Jan 2008 15:30:10 -0000	1.4
+++ Windows-ifort.cmake	18 Jan 2008 00:58:00 -0000	1.5
@@ -19,7 +19,7 @@
 
 # compile a C++ file into an object file
 SET(CMAKE_Fortran_COMPILE_OBJECT
-    "<CMAKE_Fortran_COMPILER>  ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO} /fpp /Fo<OBJECT> <FLAGS> -c <SOURCE>${CMAKE_END_TEMP_FILE}")
+    "<CMAKE_Fortran_COMPILER>  ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO} /fpp /Fo<OBJECT> <DEFINES> <FLAGS> -c <SOURCE>${CMAKE_END_TEMP_FILE}")
 
 SET(CMAKE_COMPILE_RESOURCE "rc <FLAGS> /fo<OBJECT> <SOURCE>")
 



More information about the Cmake-commits mailing list