ENH: ignore all files that we do not know about just like in ide generators

This commit is contained in:
Bill Hoffman 2006-04-20 21:54:35 -04:00
parent 03cee03f67
commit 2a335ae748
1 changed files with 1 additions and 3 deletions

View File

@ -245,9 +245,7 @@ void cmMakefileTargetGenerator::WriteObjectRuleFiles(cmSourceFile& source)
const char* lang = this->LocalGenerator->GetSourceFileLanguage(source);
if(!lang)
{
// If language is not known, this is an error.
cmSystemTools::Error("Source file \"", source.GetFullPath().c_str(),
"\" has unknown type.");
// don't know anything about this file so skip it
return;
}