[cmake-commits] hoffman committed cmGlobalXCodeGenerator.cxx 1.132
1.133
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Feb 20 11:14:43 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv14781
Modified Files:
cmGlobalXCodeGenerator.cxx
Log Message:
ENH: fix for force language stuff
Index: cmGlobalXCodeGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -d -r1.132 -r1.133
--- cmGlobalXCodeGenerator.cxx 19 Feb 2007 20:07:31 -0000 1.132
+++ cmGlobalXCodeGenerator.cxx 20 Feb 2007 16:14:41 -0000 1.133
@@ -485,7 +485,7 @@
buildFile->AddAttribute("settings", settings);
fileRef->AddAttribute("fileEncoding", this->CreateString("4"));
const char* lang =
- this->GetLanguageFromExtension(sf->GetSourceExtension().c_str());
+ this->CurrentLocalGenerator->GetSourceFileLanguage(*sf);
std::string sourcecode = "sourcecode";
std::string ext = sf->GetSourceExtension();
ext = cmSystemTools::LowerCase(ext);
More information about the Cmake-commits
mailing list