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

Method GetFilePrefix

Source/cmGeneratorTarget.cxx:369–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369std::string cmGeneratorTarget::GetFilePrefix(
370 std::string const& config, cmStateEnums::ArtifactType artifact) const
371{
372 if (this->IsImported()) {
373 cmValue prefix = this->GetFilePrefixInternal(config, artifact);
374 return prefix ? *prefix : std::string();
375 }
376 return this->GetFullNameInternalComponents(config, artifact).prefix;
377}
378std::string cmGeneratorTarget::GetFileSuffix(
379 std::string const& config, cmStateEnums::ArtifactType artifact) const
380{

Callers 5

GetMethod · 0.80
GetMethod · 0.80
GetMethod · 0.80
GetMethod · 0.80
GetMethod · 0.80

Calls 2

IsImportedMethod · 0.95
GetFilePrefixInternalMethod · 0.95

Tested by

no test coverage detected