ENH: ignore all files that we do not know about just like in ide generators
This commit is contained in:
parent
03cee03f67
commit
2a335ae748
@ -245,9 +245,7 @@ void cmMakefileTargetGenerator::WriteObjectRuleFiles(cmSourceFile& source)
|
|||||||
const char* lang = this->LocalGenerator->GetSourceFileLanguage(source);
|
const char* lang = this->LocalGenerator->GetSourceFileLanguage(source);
|
||||||
if(!lang)
|
if(!lang)
|
||||||
{
|
{
|
||||||
// If language is not known, this is an error.
|
// don't know anything about this file so skip it
|
||||||
cmSystemTools::Error("Source file \"", source.GetFullPath().c_str(),
|
|
||||||
"\" has unknown type.");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user