ENH: change ignore function so that it first checks to see if the extension has a language
This commit is contained in:
parent
5bc54263a6
commit
9e08d07be2
|
@ -397,6 +397,10 @@ void cmGlobalGenerator::SetLanguageEnabled(const char* l, cmMakefile* mf)
|
|||
}
|
||||
bool cmGlobalGenerator::IgnoreFile(const char* l)
|
||||
{
|
||||
if(this->GetLanguageFromExtension(l))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return (m_IgnoreExtensions.count(l) > 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue