[Cmake-commits] [cmake-commits] hoffman committed cmSystemTools.cxx 1.383 1.384

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Aug 19 15:55:12 EDT 2008


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

Modified Files:
	cmSystemTools.cxx 
Log Message:
BUG: fix for 7045, use gcc for .m


Index: cmSystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSystemTools.cxx,v
retrieving revision 1.383
retrieving revision 1.384
diff -C 2 -d -r1.383 -r1.384
*** cmSystemTools.cxx	15 Aug 2008 13:47:21 -0000	1.383
--- cmSystemTools.cxx	19 Aug 2008 19:55:10 -0000	1.384
***************
*** 1394,1398 ****
    //std::string ext = cmSystemTools::LowerCase(cext);
    std::string ext = cext;
!   if ( ext == "c" || ext == ".c" ) { return cmSystemTools::C_FILE_FORMAT; }
    if ( 
      ext == "C" || ext == ".C" ||
--- 1394,1400 ----
    //std::string ext = cmSystemTools::LowerCase(cext);
    std::string ext = cext;
!   if ( ext == "c" || ext == ".c" || 
!        ext == "m" || ext == ".m" 
!     ) { return cmSystemTools::C_FILE_FORMAT; }
    if ( 
      ext == "C" || ext == ".C" ||
***************
*** 1402,1406 ****
      ext == "cpp" || ext == ".cpp" ||
      ext == "cxx" || ext == ".cxx" ||
-     ext == "m" || ext == ".m" ||
      ext == "mm" || ext == ".mm"
      ) { return cmSystemTools::CXX_FILE_FORMAT; }
--- 1404,1407 ----



More information about the Cmake-commits mailing list