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

Method GetFileSuffix

Source/cmGeneratorTarget.cxx:378–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376 return this->GetFullNameInternalComponents(config, artifact).prefix;
377}
378std::string cmGeneratorTarget::GetFileSuffix(
379 std::string const& config, cmStateEnums::ArtifactType artifact) const
380{
381 if (this->IsImported()) {
382 cmValue suffix = this->GetFileSuffixInternal(config, artifact);
383 return suffix ? *suffix : std::string();
384 }
385 return this->GetFullNameInternalComponents(config, artifact).suffix;
386}
387
388std::string cmGeneratorTarget::GetFilePostfix(std::string const& config) const
389{

Callers 5

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

Calls 2

IsImportedMethod · 0.95
GetFileSuffixInternalMethod · 0.95

Tested by

no test coverage detected