Merge topic 'xcode-inherit-warning-flags'
820e95d0
Xcode: Inherit global settings in per-target WARNING_CFLAGS (#15224)
This commit is contained in:
commit
163868b311
|
@ -2314,6 +2314,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
|
||||||
group->AddObject(this->CreateString("-Wmost"));
|
group->AddObject(this->CreateString("-Wmost"));
|
||||||
group->AddObject(this->CreateString("-Wno-four-char-constants"));
|
group->AddObject(this->CreateString("-Wno-four-char-constants"));
|
||||||
group->AddObject(this->CreateString("-Wno-unknown-pragmas"));
|
group->AddObject(this->CreateString("-Wno-unknown-pragmas"));
|
||||||
|
group->AddObject(this->CreateString("$(inherited)"));
|
||||||
buildSettings->AddAttribute("WARNING_CFLAGS", group);
|
buildSettings->AddAttribute("WARNING_CFLAGS", group);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue