Xcode project: add precompiled header file for release build
The current combination of SDKs and build targets for release builds does not include sys/types.h automatically any more (while it does for debug builds).
This commit is contained in:
parent
c43bf75eca
commit
b668c0e248
2 changed files with 8 additions and 1 deletions
|
@ -0,0 +1,7 @@
|
|||
//
|
||||
// This is now needed for release builds of the 'Wesnoth' target in the 'Wesnoth' project
|
||||
// because somehow sys/types.h does not seem to be added automatically in the latest Xcode
|
||||
// any more for the combination of SDKs and build targets used for release builds.
|
||||
//
|
||||
|
||||
#include <sys/types.h>
|
|
@ -4992,7 +4992,7 @@
|
|||
);
|
||||
GCC_OPTIMIZATION_LEVEL = s;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "";
|
||||
GCC_PREFIX_HEADER = "./Mac Sources/Wesnoth_Prefix_Release.pch";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"LOCALEDIR=\\\"translations\\\"",
|
||||
"LUA_USE_MACOSX=1",
|
||||
|
|
Loading…
Add table
Reference in a new issue