ENH: change ignore function so that it first checks to see if the extension has a language

This commit is contained in:
Bill Hoffman 2004-09-24 09:34:27 -04:00
parent 5bc54263a6
commit 9e08d07be2
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}