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

Method NeedCxxModuleSupport

Source/cmGeneratorTarget.cxx:6300–6309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6298}
6299
6300bool cmGeneratorTarget::NeedCxxModuleSupport(std::string const& lang,
6301 std::string const& config) const
6302{
6303 if (lang != "CXX"_s) {
6304 return false;
6305 }
6306 return this->HaveCxxModuleSupport(config) == Cxx20SupportLevel::Supported &&
6307 this->GetGlobalGenerator()->CheckCxxModuleSupport(
6308 cmGlobalGenerator::CxxModuleSupportQuery::Inspect);
6309}
6310
6311bool cmGeneratorTarget::NeedDyndep(std::string const& lang,
6312 std::string const& config) const

Callers 2

NeedDyndepMethod · 0.95

Calls 3

HaveCxxModuleSupportMethod · 0.95
GetGlobalGeneratorMethod · 0.95
CheckCxxModuleSupportMethod · 0.45

Tested by

no test coverage detected