summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-20 14:08:34 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-11-20 14:08:34 (GMT)
commit7df3a10a5e414960633f401151d6042b64375c3a (patch)
tree97e166341b524fc835899d03104b783a07d51ed0 /Source/cmGlobalGenerator.cxx
parent483b7e709396122c2e235972902a65e34878ae2a (diff)
parenta990722b5a8fc15058e7024ec54885ec24ed4bbf (diff)
downloadCMake-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.cxx5
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)
{