mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
ENH: change ignore function so that it first checks to see if the extension has a language
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user