[Cmake-commits] [cmake-commits] king committed cmGlobalXCodeGenerator.cxx 1.235 1.236

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 22 10:57:48 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv1451/Source

Modified Files:
	cmGlobalXCodeGenerator.cxx 
Log Message:
Add Xcode file association for Fortran

Intel Fortran on Mac OS X enables Fortran support in Xcode.  This commit
teaches CMake to associate Fortran sources properly in Xcode projects.

See issue #9739.


Index: cmGlobalXCodeGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v
retrieving revision 1.235
retrieving revision 1.236
diff -C 2 -d -r1.235 -r1.236
*** cmGlobalXCodeGenerator.cxx	21 Oct 2009 17:00:38 -0000	1.235
--- cmGlobalXCodeGenerator.cxx	22 Oct 2009 14:57:44 -0000	1.236
***************
*** 656,659 ****
--- 656,663 ----
      sourcecode += ".c.c";
      }
+   else if(lang && strcmp(lang, "Fortran") == 0)
+     {
+     sourcecode += ".fortran.f90";
+     }
    else if(ext == "png" || ext == "gif" || ext == "jpg")
      {



More information about the Cmake-commits mailing list