diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-24 13:34:27 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-24 13:34:27 (GMT) |
commit | 9e08d07be2c133f0b178ff21714b1f52d9272ae6 (patch) | |
tree | 1df4d95d8c82a00a572d25dc4aace81a9eb2075a /Source/cmGlobalGenerator.cxx | |
parent | 5bc54263a673afde080f5e1e5c53c93f64fd57fd (diff) | |
download | CMake-9e08d07be2c133f0b178ff21714b1f52d9272ae6.zip CMake-9e08d07be2c133f0b178ff21714b1f52d9272ae6.tar.gz CMake-9e08d07be2c133f0b178ff21714b1f52d9272ae6.tar.bz2 |
ENH: change ignore function so that it first checks to see if the extension has a language
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index e95bb5e..098c9c9 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); } |