diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2013-08-29 18:43:54 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2013-11-19 16:48:18 (GMT) |
commit | 4a352d43bbe3c8726046683e7dbc89a55b5e1c67 (patch) | |
tree | 8d1873725ec19a5ef1023ee6370de7155f5cd416 /Source/cmGlobalGenerator.cxx | |
parent | 1da77bf1ee4f3ba315ebb00da2eaeac474614cad (diff) | |
download | CMake-4a352d43bbe3c8726046683e7dbc89a55b5e1c67.zip CMake-4a352d43bbe3c8726046683e7dbc89a55b5e1c67.tar.gz CMake-4a352d43bbe3c8726046683e7dbc89a55b5e1c67.tar.bz2 |
Notify extra generators about languages
Some generators can use the any enabled languages to add extra support
in the relevant build tool. One such is Eclipse since there are many
plugins available for various 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) { |