mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 17:19:05 -05:00
ENH: ignore all files that we do not know about just like in ide generators
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user