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

Method GetFrameworkVersion

Source/cmGeneratorTarget.cxx:4424–4435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4422}
4423
4424std::string cmGeneratorTarget::GetFrameworkVersion() const
4425{
4426 assert(this->GetType() != cmStateEnums::INTERFACE_LIBRARY);
4427
4428 if (cmValue fversion = this->GetProperty("FRAMEWORK_VERSION")) {
4429 return *fversion;
4430 }
4431 if (cmValue tversion = this->GetProperty("VERSION")) {
4432 return *tversion;
4433 }
4434 return "A";
4435}
4436
4437std::string cmGeneratorTarget::ComputeVersionedName(std::string const& prefix,
4438 std::string const& base,

Callers 4

GetFrameworkDirectoryMethod · 0.95
GetLibraryNamesMethod · 0.95
CreateBuildSettingsMethod · 0.80
CreateFrameworkMethod · 0.80

Calls 2

GetTypeMethod · 0.95
GetPropertyMethod · 0.95

Tested by

no test coverage detected