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

Method Compute

Source/cmInstallCxxModuleBmiGenerator.cxx:33–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31cmInstallCxxModuleBmiGenerator::~cmInstallCxxModuleBmiGenerator() = default;
32
33bool cmInstallCxxModuleBmiGenerator::Compute(cmLocalGenerator* lg)
34{
35 this->LocalGenerator = lg;
36
37 this->Target = lg->FindLocalNonAliasGeneratorTarget(this->TargetName);
38 if (!this->Target) {
39 // If no local target has been found, find it in the global scope.
40 this->Target =
41 lg->GetGlobalGenerator()->FindGeneratorTarget(this->TargetName);
42 }
43
44 return true;
45}
46
47std::string cmInstallCxxModuleBmiGenerator::GetScriptLocation(
48 std::string const& config) const

Callers

nothing calls this directly

Calls 3

FindGeneratorTargetMethod · 0.80
GetGlobalGeneratorMethod · 0.45

Tested by

no test coverage detected