diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 21:24:06 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 21:24:06 -0800 |
| commit | 2861c3fbfc41d49627810b2d8d9bda761c3528c2 (patch) | |
| tree | b33b1fb836b25fdc13958bca70530e31021bbbc9 /mp/src/devtools | |
| parent | Fix IceKey.H to be a text file too. (diff) | |
| download | source-sdk-2013-2861c3fbfc41d49627810b2d8d9bda761c3528c2.tar.xz source-sdk-2013-2861c3fbfc41d49627810b2d8d9bda761c3528c2.zip | |
Make .xcconfigs text files too.
Diffstat (limited to 'mp/src/devtools')
| -rw-r--r-- | mp/src/devtools/base.xcconfig | 92 | ||||
| -rw-r--r-- | mp/src/devtools/debug.xcconfig | 8 | ||||
| -rw-r--r-- | mp/src/devtools/release.xcconfig | 8 |
3 files changed, 54 insertions, 54 deletions
diff --git a/mp/src/devtools/base.xcconfig b/mp/src/devtools/base.xcconfig index d5ba4a16..ff8a9782 100644 --- a/mp/src/devtools/base.xcconfig +++ b/mp/src/devtools/base.xcconfig @@ -1,46 +1,46 @@ -ALWAYS_SEARCH_USER_PATHS = YES
-HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) $(SDKROOT)/usr/include/malloc
-
-ARCHS = i386
-ONLY_ACTIVE_ARCH = NO
-COPY_PHASE_STRIP = NO
-DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
-
-DEAD_CODE_STRIPPING = YES
-PRESERVE_DEAD_CODE_INITS_AND_TERMS = YES
-
-GCC_C_LANGUAGE_STANDARD = gnu99
-GCC_ENABLE_OBJC_EXCEPTIONS = YES
-GCC_SYMBOLS_PRIVATE_EXTERN = YES
-GCC_INLINES_ARE_PRIVATE_EXTERN = YES
-GCC_REUSE_STRINGS = YES
-
-// CPP11_NO_LIBCXX is used to gate some C++11 features that require that we
-// switch to libc++. We haven't switched to libc++11 because we have been unable
-// to find a clean way to build libcef_dll_wrapper with libc++.
-// We currently build libcef for Steam which needs to run on 10.5, and Xcode
-// does not support linking with libc++ and targeting 10.5.
-// Once libcef_dll_wrapper has been built with libc++, and you rebuild protobuf
-// with libc++ (which is trivial), you can remove CPP11_NO_LIBCXX and add the
-// following line to the xcconfig:
-// CLANG_CXX_LIBRARY = libc++
-GCC_PREPROCESSOR_DEFINITIONS = _DLL_EXT=.dylib NO_MALLOC_OVERRIDE=1 VPROF_LEVEL=1 NO_HOOK_MALLOC=1 PNG_NO_PEDANTIC_WARNINGS CPP11_NO_LIBCXX
-BASE_CFLAGS= -Usprintf -Ustrncpy -UPROTECTED_THINGS_ENABLE
-
-GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO
-WARNING_CFLAGS = -Wno-deprecated-writable-strings -Wno-switch-enum -Wno-switch -Wno-unused-value -Wno-parentheses -Wno-logical-op-parentheses -Wno-c++11-narrowing
-
-// CLANG - and use the ccache wrapper
-GCC_VERSION = com.apple.compilers.llvm.clang.1_0
-CC = $(SOURCE_ROOT)/devtools/bin/osx32/xcode_ccache_wrapper
-LDPLUSPLUS = $(DT_TOOLCHAIN_DIR)/usr/bin/clang++
-CLANG_WARN_CXX0X_EXTENSIONS = NO
-CLANG_CXX_LANGUAGE_STANDARD = gnu++11
-
-// include <memory.h> gets confused, 'cause ivp has one, and the system has one, and only one
-// gets into the header map, so sacrifice speed for corectness.
-USE_HEADERMAP = NO
-
-SDKROOT = macosx10.7
-MACOSX_DEPLOYMENT_TARGET = 10.5
-GCC_FAST_MATH = YES
+ALWAYS_SEARCH_USER_PATHS = YES +HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) $(SDKROOT)/usr/include/malloc + +ARCHS = i386 +ONLY_ACTIVE_ARCH = NO +COPY_PHASE_STRIP = NO +DEBUG_INFORMATION_FORMAT = dwarf-with-dsym + +DEAD_CODE_STRIPPING = YES +PRESERVE_DEAD_CODE_INITS_AND_TERMS = YES + +GCC_C_LANGUAGE_STANDARD = gnu99 +GCC_ENABLE_OBJC_EXCEPTIONS = YES +GCC_SYMBOLS_PRIVATE_EXTERN = YES +GCC_INLINES_ARE_PRIVATE_EXTERN = YES +GCC_REUSE_STRINGS = YES + +// CPP11_NO_LIBCXX is used to gate some C++11 features that require that we +// switch to libc++. We haven't switched to libc++11 because we have been unable +// to find a clean way to build libcef_dll_wrapper with libc++. +// We currently build libcef for Steam which needs to run on 10.5, and Xcode +// does not support linking with libc++ and targeting 10.5. +// Once libcef_dll_wrapper has been built with libc++, and you rebuild protobuf +// with libc++ (which is trivial), you can remove CPP11_NO_LIBCXX and add the +// following line to the xcconfig: +// CLANG_CXX_LIBRARY = libc++ +GCC_PREPROCESSOR_DEFINITIONS = _DLL_EXT=.dylib NO_MALLOC_OVERRIDE=1 VPROF_LEVEL=1 NO_HOOK_MALLOC=1 PNG_NO_PEDANTIC_WARNINGS CPP11_NO_LIBCXX +BASE_CFLAGS= -Usprintf -Ustrncpy -UPROTECTED_THINGS_ENABLE + +GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO +WARNING_CFLAGS = -Wno-deprecated-writable-strings -Wno-switch-enum -Wno-switch -Wno-unused-value -Wno-parentheses -Wno-logical-op-parentheses -Wno-c++11-narrowing + +// CLANG - and use the ccache wrapper +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 +CC = $(SOURCE_ROOT)/devtools/bin/osx32/xcode_ccache_wrapper +LDPLUSPLUS = $(DT_TOOLCHAIN_DIR)/usr/bin/clang++ +CLANG_WARN_CXX0X_EXTENSIONS = NO +CLANG_CXX_LANGUAGE_STANDARD = gnu++11 + +// include <memory.h> gets confused, 'cause ivp has one, and the system has one, and only one +// gets into the header map, so sacrifice speed for corectness. +USE_HEADERMAP = NO + +SDKROOT = macosx10.7 +MACOSX_DEPLOYMENT_TARGET = 10.5 +GCC_FAST_MATH = YES diff --git a/mp/src/devtools/debug.xcconfig b/mp/src/devtools/debug.xcconfig index 668a3cf1..4f63198a 100644 --- a/mp/src/devtools/debug.xcconfig +++ b/mp/src/devtools/debug.xcconfig @@ -1,4 +1,4 @@ -#include "base.xcconfig"
-GCC_OPTIMIZATION_LEVEL = 0
-OTHER_CFLAGS = $(derived) $(BASE_CFLAGS)
-
+#include "base.xcconfig" +GCC_OPTIMIZATION_LEVEL = 0 +OTHER_CFLAGS = $(derived) $(BASE_CFLAGS) + diff --git a/mp/src/devtools/release.xcconfig b/mp/src/devtools/release.xcconfig index 5e1a475f..1f1a24ef 100644 --- a/mp/src/devtools/release.xcconfig +++ b/mp/src/devtools/release.xcconfig @@ -1,4 +1,4 @@ -#include "base.xcconfig"
-
-GCC_OPTIMIZATION_LEVEL = 2
-OTHER_CFLAGS = $(derived) $(BASE_CFLAGS) -ftree-vectorize -fpredictive-commoning -funswitch-loops
+#include "base.xcconfig" + +GCC_OPTIMIZATION_LEVEL = 2 +OTHER_CFLAGS = $(derived) $(BASE_CFLAGS) -ftree-vectorize -fpredictive-commoning -funswitch-loops |