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

Method GetTargetVersionFallback

Source/cmGeneratorTarget.cxx:4241–4250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4239}
4240
4241void cmGeneratorTarget::GetTargetVersionFallback(
4242 std::string const& property, std::string const& fallback_property,
4243 int& major, int& minor, int& patch) const
4244{
4245 if (this->GetProperty(property)) {
4246 this->GetTargetVersion(property, major, minor, patch);
4247 } else {
4248 this->GetTargetVersion(fallback_property, major, minor, patch);
4249 }
4250}
4251
4252void cmGeneratorTarget::GetTargetVersion(std::string const& property,
4253 int& major, int& minor,

Callers 2

CreateBuildSettingsMethod · 0.80
AppendOSXVerFlagMethod · 0.80

Calls 2

GetPropertyMethod · 0.95
GetTargetVersionMethod · 0.95

Tested by

no test coverage detected