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

Method GetLocation

Source/cmTarget.cxx:3449–3457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3447}
3448
3449cmValue cmTarget::GetLocation(std::string const& base,
3450 std::string const& suffix) const
3451{
3452 cmValue value = this->GetProperty(cmStrCat(base, suffix));
3453 if (value || suffix.empty()) {
3454 return value;
3455 }
3456 return this->GetProperty(base);
3457}
3458
3459bool cmTarget::GetLocation(std::string const& config, cmValue& loc,
3460 cmValue& imp, std::string& suffix) const

Callers 15

GetMappedConfigNewMethod · 0.95
CreateSourceMethod · 0.45
ComputeLinkLibrariesMethod · 0.45
ComputeKindedSourcesMethod · 0.45
processTreeFunction · 0.45
GetRealDependencyMethod · 0.45
GetErrorMessageMethod · 0.45
WriteSourcesMethod · 0.45
GetSources<cmTarget>Method · 0.45

Calls 9

GetPropertyMethod · 0.95
GetTypeMethod · 0.95
IsAIXMethod · 0.95
GetMakefileMethod · 0.95
cmStrCatFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected