From 9e08d07be2c133f0b178ff21714b1f52d9272ae6 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 24 Sep 2004 09:34:27 -0400 Subject: [PATCH] ENH: change ignore function so that it first checks to see if the extension has a language --- Source/cmGlobalGenerator.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index e95bb5ef3..098c9c93e 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -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); }