mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
Merge topic 'xcode-default-warnings'
b7b8331d68
Xcode: Drop hard-coded default warning flags like -Wmost
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4213
This commit is contained in:
commit
47dac86c08
5
Help/release/dev/xcode-default-warnings.rst
Normal file
5
Help/release/dev/xcode-default-warnings.rst
Normal file
@ -0,0 +1,5 @@
|
||||
xcode-default-warnings
|
||||
----------------------
|
||||
|
||||
* The :generator:`Xcode` generator no longer hard-codes ``-Wmost``,
|
||||
``-Wno-four-char-constants``, and ``-Wno-unknown-pragmas`` warning flags.
|
@ -2357,9 +2357,6 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt,
|
||||
buildSettings->AddAttribute("SECTORDER_FLAGS", this->CreateString(""));
|
||||
buildSettings->AddAttribute("USE_HEADERMAP", this->CreateString("NO"));
|
||||
cmXCodeObject* group = this->CreateObject(cmXCodeObject::OBJECT_LIST);
|
||||
group->AddObject(this->CreateString("-Wmost"));
|
||||
group->AddObject(this->CreateString("-Wno-four-char-constants"));
|
||||
group->AddObject(this->CreateString("-Wno-unknown-pragmas"));
|
||||
group->AddObject(this->CreateString("$(inherited)"));
|
||||
buildSettings->AddAttribute("WARNING_CFLAGS", group);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user