MCPcopy Create free account
hub / github.com/Kitware/CMake / ComputeAllConfigCompileLanguages

Method ComputeAllConfigCompileLanguages

Source/cmGeneratorTarget_Sources.cxx:514–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512}
513
514void cmGeneratorTarget::ComputeAllConfigCompileLanguages() const
515{
516 std::set<std::string> languages;
517 std::vector<AllConfigSource> const& sources = this->GetAllConfigSources();
518 for (AllConfigSource const& si : sources) {
519 std::string const& lang = si.Source->GetOrDetermineLanguage();
520 if (!lang.empty()) {
521 languages.emplace(lang);
522 }
523 }
524 this->AllConfigCompileLanguages = languages;
525}
526
527std::set<std::string> cmGeneratorTarget::GetAllConfigCompileLanguages() const
528{

Callers 1

Calls 3

GetAllConfigSourcesMethod · 0.95
emplaceMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected