diff options
author | Brad King <brad.king@kitware.com> | 2013-11-20 14:08:34 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-20 14:08:34 (GMT) |
commit | 7df3a10a5e414960633f401151d6042b64375c3a (patch) | |
tree | 97e166341b524fc835899d03104b783a07d51ed0 /Source/cmGlobalGenerator.cxx | |
parent | 483b7e709396122c2e235972902a65e34878ae2a (diff) | |
parent | a990722b5a8fc15058e7024ec54885ec24ed4bbf (diff) | |
download | CMake-7df3a10a5e414960633f401151d6042b64375c3a.zip CMake-7df3a10a5e414960633f401151d6042b64375c3a.tar.gz CMake-7df3a10a5e414960633f401151d6042b64375c3a.tar.bz2 |
Merge topic 'dev/better-eclipse-language-support'
a990722 eclipse: Support custom natures via a global property
51726cc eclipse: Add natures for Eclipse based on enabled languages
4a352d4 Notify extra generators about languages
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 65a7118..56db0ef 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -695,6 +695,11 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages, { mf->ReadListFile(0,projectCompatibility.c_str()); } + // Inform any extra generator of the new language. + if (this->ExtraGenerator) + { + this->ExtraGenerator->EnableLanguage(languages, mf, false); + } if(fatalError) { |