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

Method ComputeVersionedName

Source/cmGeneratorTarget.cxx:4437–4450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4435}
4436
4437std::string cmGeneratorTarget::ComputeVersionedName(std::string const& prefix,
4438 std::string const& base,
4439 std::string const& suffix,
4440 std::string const& name,
4441 cmValue version) const
4442{
4443 std::string vName = this->IsApple() ? (prefix + base) : name;
4444 if (version) {
4445 vName += ".";
4446 vName += *version;
4447 }
4448 vName += this->IsApple() ? suffix : std::string();
4449 return vName;
4450}
4451
4452std::vector<std::string> cmGeneratorTarget::GetPropertyKeys() const
4453{

Callers 1

GetLibraryNamesMethod · 0.95

Calls 1

IsAppleMethod · 0.95

Tested by

no test coverage detected