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

Method IsLanguageUsed

Source/cmGeneratorTarget.cxx:5089–5095  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5087}
5088
5089bool cmGeneratorTarget::IsLanguageUsed(std::string const& language,
5090 std::string const& config) const
5091{
5092 std::set<std::string> languages;
5093 this->GetLanguages(languages, config);
5094 return languages.count(language);
5095}
5096
5097bool cmGeneratorTarget::IsCSharpOnly() const
5098{

Callers 3

ComputeCudaOptionsMethod · 0.80
WriteCudaOptionsMethod · 0.80

Calls 2

GetLanguagesMethod · 0.95
countMethod · 0.45

Tested by

no test coverage detected