Merge topic 'xcode-inherit-warning-flags'

820e95d0 Xcode: Inherit global settings in per-target WARNING_CFLAGS (#15224)
This commit is contained in:
Brad King 2014-10-31 11:34:58 -04:00 committed by CMake Topic Stage
commit 163868b311
1 changed files with 1 additions and 0 deletions

View File

@ -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