mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2024-12-26 14:55:34 +03:00
Make .xcconfigs text files too.
This commit is contained in:
parent
b00fad8cd0
commit
2861c3fbfc
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -16,6 +16,7 @@ vpc_osx binary
|
|||||||
*.awk text
|
*.awk text
|
||||||
*.pl text
|
*.pl text
|
||||||
*.py text
|
*.py text
|
||||||
|
*.xcconfig text
|
||||||
|
|
||||||
*.exe binary
|
*.exe binary
|
||||||
protoc binary
|
protoc binary
|
||||||
|
@ -1,46 +1,46 @@
|
|||||||
ALWAYS_SEARCH_USER_PATHS = YES
|
ALWAYS_SEARCH_USER_PATHS = YES
|
||||||
HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) $(SDKROOT)/usr/include/malloc
|
HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) $(SDKROOT)/usr/include/malloc
|
||||||
|
|
||||||
ARCHS = i386
|
ARCHS = i386
|
||||||
ONLY_ACTIVE_ARCH = NO
|
ONLY_ACTIVE_ARCH = NO
|
||||||
COPY_PHASE_STRIP = NO
|
COPY_PHASE_STRIP = NO
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
|
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
|
||||||
|
|
||||||
DEAD_CODE_STRIPPING = YES
|
DEAD_CODE_STRIPPING = YES
|
||||||
PRESERVE_DEAD_CODE_INITS_AND_TERMS = YES
|
PRESERVE_DEAD_CODE_INITS_AND_TERMS = YES
|
||||||
|
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu99
|
GCC_C_LANGUAGE_STANDARD = gnu99
|
||||||
GCC_ENABLE_OBJC_EXCEPTIONS = YES
|
GCC_ENABLE_OBJC_EXCEPTIONS = YES
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = YES
|
GCC_SYMBOLS_PRIVATE_EXTERN = YES
|
||||||
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
|
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
|
||||||
GCC_REUSE_STRINGS = YES
|
GCC_REUSE_STRINGS = YES
|
||||||
|
|
||||||
// CPP11_NO_LIBCXX is used to gate some C++11 features that require that we
|
// 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
|
// 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++.
|
// 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
|
// 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.
|
// does not support linking with libc++ and targeting 10.5.
|
||||||
// Once libcef_dll_wrapper has been built with libc++, and you rebuild protobuf
|
// 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
|
// with libc++ (which is trivial), you can remove CPP11_NO_LIBCXX and add the
|
||||||
// following line to the xcconfig:
|
// following line to the xcconfig:
|
||||||
// CLANG_CXX_LIBRARY = libc++
|
// 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
|
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
|
BASE_CFLAGS= -Usprintf -Ustrncpy -UPROTECTED_THINGS_ENABLE
|
||||||
|
|
||||||
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO
|
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
|
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
|
// CLANG - and use the ccache wrapper
|
||||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
|
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
|
||||||
CC = $(SOURCE_ROOT)/devtools/bin/osx32/xcode_ccache_wrapper
|
CC = $(SOURCE_ROOT)/devtools/bin/osx32/xcode_ccache_wrapper
|
||||||
LDPLUSPLUS = $(DT_TOOLCHAIN_DIR)/usr/bin/clang++
|
LDPLUSPLUS = $(DT_TOOLCHAIN_DIR)/usr/bin/clang++
|
||||||
CLANG_WARN_CXX0X_EXTENSIONS = NO
|
CLANG_WARN_CXX0X_EXTENSIONS = NO
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = gnu++11
|
CLANG_CXX_LANGUAGE_STANDARD = gnu++11
|
||||||
|
|
||||||
// include <memory.h> gets confused, 'cause ivp has one, and the system has one, and only one
|
// 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.
|
// gets into the header map, so sacrifice speed for corectness.
|
||||||
USE_HEADERMAP = NO
|
USE_HEADERMAP = NO
|
||||||
|
|
||||||
SDKROOT = macosx10.7
|
SDKROOT = macosx10.7
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.5
|
MACOSX_DEPLOYMENT_TARGET = 10.5
|
||||||
GCC_FAST_MATH = YES
|
GCC_FAST_MATH = YES
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "base.xcconfig"
|
#include "base.xcconfig"
|
||||||
GCC_OPTIMIZATION_LEVEL = 0
|
GCC_OPTIMIZATION_LEVEL = 0
|
||||||
OTHER_CFLAGS = $(derived) $(BASE_CFLAGS)
|
OTHER_CFLAGS = $(derived) $(BASE_CFLAGS)
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "base.xcconfig"
|
#include "base.xcconfig"
|
||||||
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 2
|
GCC_OPTIMIZATION_LEVEL = 2
|
||||||
OTHER_CFLAGS = $(derived) $(BASE_CFLAGS) -ftree-vectorize -fpredictive-commoning -funswitch-loops
|
OTHER_CFLAGS = $(derived) $(BASE_CFLAGS) -ftree-vectorize -fpredictive-commoning -funswitch-loops
|
||||||
|
@ -1,30 +1,30 @@
|
|||||||
//
|
//
|
||||||
// DebugProject.xcconfig
|
// DebugProject.xcconfig
|
||||||
//
|
//
|
||||||
// These are Debug Configuration project settings for the gtest framework and
|
// These are Debug Configuration project settings for the gtest framework and
|
||||||
// examples. It is set in the "Based On:" dropdown in the "Project" info
|
// examples. It is set in the "Based On:" dropdown in the "Project" info
|
||||||
// dialog.
|
// dialog.
|
||||||
// This file is based on the Xcode Configuration files in:
|
// This file is based on the Xcode Configuration files in:
|
||||||
// http://code.google.com/p/google-toolbox-for-mac/
|
// http://code.google.com/p/google-toolbox-for-mac/
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "General.xcconfig"
|
#include "General.xcconfig"
|
||||||
|
|
||||||
// No optimization
|
// No optimization
|
||||||
GCC_OPTIMIZATION_LEVEL = 0
|
GCC_OPTIMIZATION_LEVEL = 0
|
||||||
|
|
||||||
// Deployment postprocessing is what triggers Xcode to strip, turn it off
|
// Deployment postprocessing is what triggers Xcode to strip, turn it off
|
||||||
DEPLOYMENT_POSTPROCESSING = NO
|
DEPLOYMENT_POSTPROCESSING = NO
|
||||||
|
|
||||||
// Dead code stripping off
|
// Dead code stripping off
|
||||||
DEAD_CODE_STRIPPING = NO
|
DEAD_CODE_STRIPPING = NO
|
||||||
|
|
||||||
// Debug symbols should be on obviously
|
// Debug symbols should be on obviously
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
|
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
|
||||||
|
|
||||||
// Define the DEBUG macro in all debug builds
|
// Define the DEBUG macro in all debug builds
|
||||||
OTHER_CFLAGS = $(OTHER_CFLAGS) -DDEBUG=1
|
OTHER_CFLAGS = $(OTHER_CFLAGS) -DDEBUG=1
|
||||||
|
|
||||||
// These are turned off to avoid STL incompatibilities with client code
|
// These are turned off to avoid STL incompatibilities with client code
|
||||||
// // Turns on special C++ STL checks to "encourage" good STL use
|
// // Turns on special C++ STL checks to "encourage" good STL use
|
||||||
// GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS
|
// GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
//
|
//
|
||||||
// FrameworkTarget.xcconfig
|
// FrameworkTarget.xcconfig
|
||||||
//
|
//
|
||||||
// These are Framework target settings for the gtest framework and examples. It
|
// These are Framework target settings for the gtest framework and examples. It
|
||||||
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
||||||
// This file is based on the Xcode Configuration files in:
|
// This file is based on the Xcode Configuration files in:
|
||||||
// http://code.google.com/p/google-toolbox-for-mac/
|
// http://code.google.com/p/google-toolbox-for-mac/
|
||||||
//
|
//
|
||||||
|
|
||||||
// Dynamic libs need to be position independent
|
// Dynamic libs need to be position independent
|
||||||
GCC_DYNAMIC_NO_PIC = NO
|
GCC_DYNAMIC_NO_PIC = NO
|
||||||
|
|
||||||
// Dynamic libs should not have their external symbols stripped.
|
// Dynamic libs should not have their external symbols stripped.
|
||||||
STRIP_STYLE = non-global
|
STRIP_STYLE = non-global
|
||||||
|
|
||||||
// Let the user install by specifying the $DSTROOT with xcodebuild
|
// Let the user install by specifying the $DSTROOT with xcodebuild
|
||||||
SKIP_INSTALL = NO
|
SKIP_INSTALL = NO
|
||||||
|
@ -1,41 +1,41 @@
|
|||||||
//
|
//
|
||||||
// General.xcconfig
|
// General.xcconfig
|
||||||
//
|
//
|
||||||
// These are General configuration settings for the gtest framework and
|
// These are General configuration settings for the gtest framework and
|
||||||
// examples.
|
// examples.
|
||||||
// This file is based on the Xcode Configuration files in:
|
// This file is based on the Xcode Configuration files in:
|
||||||
// http://code.google.com/p/google-toolbox-for-mac/
|
// http://code.google.com/p/google-toolbox-for-mac/
|
||||||
//
|
//
|
||||||
|
|
||||||
// Build for PPC and Intel, 32- and 64-bit
|
// Build for PPC and Intel, 32- and 64-bit
|
||||||
ARCHS = i386 x86_64 ppc ppc64
|
ARCHS = i386 x86_64 ppc ppc64
|
||||||
|
|
||||||
// Zerolink prevents link warnings so turn it off
|
// Zerolink prevents link warnings so turn it off
|
||||||
ZERO_LINK = NO
|
ZERO_LINK = NO
|
||||||
|
|
||||||
// Prebinding considered unhelpful in 10.3 and later
|
// Prebinding considered unhelpful in 10.3 and later
|
||||||
PREBINDING = NO
|
PREBINDING = NO
|
||||||
|
|
||||||
// Strictest warning policy
|
// Strictest warning policy
|
||||||
WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare
|
WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare
|
||||||
|
|
||||||
// Work around Xcode bugs by using external strip. See:
|
// Work around Xcode bugs by using external strip. See:
|
||||||
// http://lists.apple.com/archives/Xcode-users/2006/Feb/msg00050.html
|
// http://lists.apple.com/archives/Xcode-users/2006/Feb/msg00050.html
|
||||||
SEPARATE_STRIP = YES
|
SEPARATE_STRIP = YES
|
||||||
|
|
||||||
// Force C99 dialect
|
// Force C99 dialect
|
||||||
GCC_C_LANGUAGE_STANDARD = c99
|
GCC_C_LANGUAGE_STANDARD = c99
|
||||||
|
|
||||||
// not sure why apple defaults this on, but it's pretty risky
|
// not sure why apple defaults this on, but it's pretty risky
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO
|
ALWAYS_SEARCH_USER_PATHS = NO
|
||||||
|
|
||||||
// Turn on position dependent code for most cases (overridden where appropriate)
|
// Turn on position dependent code for most cases (overridden where appropriate)
|
||||||
GCC_DYNAMIC_NO_PIC = YES
|
GCC_DYNAMIC_NO_PIC = YES
|
||||||
|
|
||||||
// Default SDK and minimum OS version is 10.4
|
// Default SDK and minimum OS version is 10.4
|
||||||
SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
|
SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.4
|
MACOSX_DEPLOYMENT_TARGET = 10.4
|
||||||
GCC_VERSION = 4.0
|
GCC_VERSION = 4.0
|
||||||
|
|
||||||
// VERSIONING BUILD SETTINGS (used in Info.plist)
|
// VERSIONING BUILD SETTINGS (used in Info.plist)
|
||||||
GTEST_VERSIONINFO_ABOUT = © 2008 Google Inc.
|
GTEST_VERSIONINFO_ABOUT = © 2008 Google Inc.
|
||||||
|
@ -1,32 +1,32 @@
|
|||||||
//
|
//
|
||||||
// ReleaseProject.xcconfig
|
// ReleaseProject.xcconfig
|
||||||
//
|
//
|
||||||
// These are Release Configuration project settings for the gtest framework
|
// These are Release Configuration project settings for the gtest framework
|
||||||
// and examples. It is set in the "Based On:" dropdown in the "Project" info
|
// and examples. It is set in the "Based On:" dropdown in the "Project" info
|
||||||
// dialog.
|
// dialog.
|
||||||
// This file is based on the Xcode Configuration files in:
|
// This file is based on the Xcode Configuration files in:
|
||||||
// http://code.google.com/p/google-toolbox-for-mac/
|
// http://code.google.com/p/google-toolbox-for-mac/
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "General.xcconfig"
|
#include "General.xcconfig"
|
||||||
|
|
||||||
// subconfig/Release.xcconfig
|
// subconfig/Release.xcconfig
|
||||||
|
|
||||||
// Optimize for space and size (Apple recommendation)
|
// Optimize for space and size (Apple recommendation)
|
||||||
GCC_OPTIMIZATION_LEVEL = s
|
GCC_OPTIMIZATION_LEVEL = s
|
||||||
|
|
||||||
// Deploment postprocessing is what triggers Xcode to strip
|
// Deploment postprocessing is what triggers Xcode to strip
|
||||||
DEPLOYMENT_POSTPROCESSING = YES
|
DEPLOYMENT_POSTPROCESSING = YES
|
||||||
|
|
||||||
// No symbols
|
// No symbols
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
|
||||||
|
|
||||||
// Dead code strip does not affect ObjC code but can help for C
|
// Dead code strip does not affect ObjC code but can help for C
|
||||||
DEAD_CODE_STRIPPING = YES
|
DEAD_CODE_STRIPPING = YES
|
||||||
|
|
||||||
// NDEBUG is used by things like assert.h, so define it for general compat.
|
// NDEBUG is used by things like assert.h, so define it for general compat.
|
||||||
// ASSERT going away in release tends to create unused vars.
|
// ASSERT going away in release tends to create unused vars.
|
||||||
OTHER_CFLAGS = $(OTHER_CFLAGS) -DNDEBUG=1 -Wno-unused-variable
|
OTHER_CFLAGS = $(OTHER_CFLAGS) -DNDEBUG=1 -Wno-unused-variable
|
||||||
|
|
||||||
// When we strip we want to strip all symbols in release, but save externals.
|
// When we strip we want to strip all symbols in release, but save externals.
|
||||||
STRIP_STYLE = all
|
STRIP_STYLE = all
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
//
|
//
|
||||||
// StaticLibraryTarget.xcconfig
|
// StaticLibraryTarget.xcconfig
|
||||||
//
|
//
|
||||||
// These are static library target settings for libgtest.a. It
|
// These are static library target settings for libgtest.a. It
|
||||||
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
||||||
// This file is based on the Xcode Configuration files in:
|
// This file is based on the Xcode Configuration files in:
|
||||||
// http://code.google.com/p/google-toolbox-for-mac/
|
// http://code.google.com/p/google-toolbox-for-mac/
|
||||||
//
|
//
|
||||||
|
|
||||||
// Static libs can be included in bundles so make them position independent
|
// Static libs can be included in bundles so make them position independent
|
||||||
GCC_DYNAMIC_NO_PIC = NO
|
GCC_DYNAMIC_NO_PIC = NO
|
||||||
|
|
||||||
// Static libs should not have their internal globals or external symbols
|
// Static libs should not have their internal globals or external symbols
|
||||||
// stripped.
|
// stripped.
|
||||||
STRIP_STYLE = debugging
|
STRIP_STYLE = debugging
|
||||||
|
|
||||||
// Let the user install by specifying the $DSTROOT with xcodebuild
|
// Let the user install by specifying the $DSTROOT with xcodebuild
|
||||||
SKIP_INSTALL = NO
|
SKIP_INSTALL = NO
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
//
|
//
|
||||||
// TestTarget.xcconfig
|
// TestTarget.xcconfig
|
||||||
//
|
//
|
||||||
// These are Test target settings for the gtest framework and examples. It
|
// These are Test target settings for the gtest framework and examples. It
|
||||||
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
||||||
|
|
||||||
PRODUCT_NAME = $(TARGET_NAME)
|
PRODUCT_NAME = $(TARGET_NAME)
|
||||||
HEADER_SEARCH_PATHS = ../include
|
HEADER_SEARCH_PATHS = ../include
|
||||||
|
@ -1,46 +1,46 @@
|
|||||||
ALWAYS_SEARCH_USER_PATHS = YES
|
ALWAYS_SEARCH_USER_PATHS = YES
|
||||||
HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) $(SDKROOT)/usr/include/malloc
|
HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) $(SDKROOT)/usr/include/malloc
|
||||||
|
|
||||||
ARCHS = i386
|
ARCHS = i386
|
||||||
ONLY_ACTIVE_ARCH = NO
|
ONLY_ACTIVE_ARCH = NO
|
||||||
COPY_PHASE_STRIP = NO
|
COPY_PHASE_STRIP = NO
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
|
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
|
||||||
|
|
||||||
DEAD_CODE_STRIPPING = YES
|
DEAD_CODE_STRIPPING = YES
|
||||||
PRESERVE_DEAD_CODE_INITS_AND_TERMS = YES
|
PRESERVE_DEAD_CODE_INITS_AND_TERMS = YES
|
||||||
|
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu99
|
GCC_C_LANGUAGE_STANDARD = gnu99
|
||||||
GCC_ENABLE_OBJC_EXCEPTIONS = YES
|
GCC_ENABLE_OBJC_EXCEPTIONS = YES
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = YES
|
GCC_SYMBOLS_PRIVATE_EXTERN = YES
|
||||||
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
|
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
|
||||||
GCC_REUSE_STRINGS = YES
|
GCC_REUSE_STRINGS = YES
|
||||||
|
|
||||||
// CPP11_NO_LIBCXX is used to gate some C++11 features that require that we
|
// 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
|
// 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++.
|
// 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
|
// 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.
|
// does not support linking with libc++ and targeting 10.5.
|
||||||
// Once libcef_dll_wrapper has been built with libc++, and you rebuild protobuf
|
// 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
|
// with libc++ (which is trivial), you can remove CPP11_NO_LIBCXX and add the
|
||||||
// following line to the xcconfig:
|
// following line to the xcconfig:
|
||||||
// CLANG_CXX_LIBRARY = libc++
|
// 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
|
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
|
BASE_CFLAGS= -Usprintf -Ustrncpy -UPROTECTED_THINGS_ENABLE
|
||||||
|
|
||||||
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO
|
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
|
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
|
// CLANG - and use the ccache wrapper
|
||||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
|
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
|
||||||
CC = $(SOURCE_ROOT)/devtools/bin/osx32/xcode_ccache_wrapper
|
CC = $(SOURCE_ROOT)/devtools/bin/osx32/xcode_ccache_wrapper
|
||||||
LDPLUSPLUS = $(DT_TOOLCHAIN_DIR)/usr/bin/clang++
|
LDPLUSPLUS = $(DT_TOOLCHAIN_DIR)/usr/bin/clang++
|
||||||
CLANG_WARN_CXX0X_EXTENSIONS = NO
|
CLANG_WARN_CXX0X_EXTENSIONS = NO
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = gnu++11
|
CLANG_CXX_LANGUAGE_STANDARD = gnu++11
|
||||||
|
|
||||||
// include <memory.h> gets confused, 'cause ivp has one, and the system has one, and only one
|
// 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.
|
// gets into the header map, so sacrifice speed for corectness.
|
||||||
USE_HEADERMAP = NO
|
USE_HEADERMAP = NO
|
||||||
|
|
||||||
SDKROOT = macosx10.7
|
SDKROOT = macosx10.7
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.5
|
MACOSX_DEPLOYMENT_TARGET = 10.5
|
||||||
GCC_FAST_MATH = YES
|
GCC_FAST_MATH = YES
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "base.xcconfig"
|
#include "base.xcconfig"
|
||||||
GCC_OPTIMIZATION_LEVEL = 0
|
GCC_OPTIMIZATION_LEVEL = 0
|
||||||
OTHER_CFLAGS = $(derived) $(BASE_CFLAGS)
|
OTHER_CFLAGS = $(derived) $(BASE_CFLAGS)
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "base.xcconfig"
|
#include "base.xcconfig"
|
||||||
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 2
|
GCC_OPTIMIZATION_LEVEL = 2
|
||||||
OTHER_CFLAGS = $(derived) $(BASE_CFLAGS) -ftree-vectorize -fpredictive-commoning -funswitch-loops
|
OTHER_CFLAGS = $(derived) $(BASE_CFLAGS) -ftree-vectorize -fpredictive-commoning -funswitch-loops
|
||||||
|
@ -1,30 +1,30 @@
|
|||||||
//
|
//
|
||||||
// DebugProject.xcconfig
|
// DebugProject.xcconfig
|
||||||
//
|
//
|
||||||
// These are Debug Configuration project settings for the gtest framework and
|
// These are Debug Configuration project settings for the gtest framework and
|
||||||
// examples. It is set in the "Based On:" dropdown in the "Project" info
|
// examples. It is set in the "Based On:" dropdown in the "Project" info
|
||||||
// dialog.
|
// dialog.
|
||||||
// This file is based on the Xcode Configuration files in:
|
// This file is based on the Xcode Configuration files in:
|
||||||
// http://code.google.com/p/google-toolbox-for-mac/
|
// http://code.google.com/p/google-toolbox-for-mac/
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "General.xcconfig"
|
#include "General.xcconfig"
|
||||||
|
|
||||||
// No optimization
|
// No optimization
|
||||||
GCC_OPTIMIZATION_LEVEL = 0
|
GCC_OPTIMIZATION_LEVEL = 0
|
||||||
|
|
||||||
// Deployment postprocessing is what triggers Xcode to strip, turn it off
|
// Deployment postprocessing is what triggers Xcode to strip, turn it off
|
||||||
DEPLOYMENT_POSTPROCESSING = NO
|
DEPLOYMENT_POSTPROCESSING = NO
|
||||||
|
|
||||||
// Dead code stripping off
|
// Dead code stripping off
|
||||||
DEAD_CODE_STRIPPING = NO
|
DEAD_CODE_STRIPPING = NO
|
||||||
|
|
||||||
// Debug symbols should be on obviously
|
// Debug symbols should be on obviously
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
|
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
|
||||||
|
|
||||||
// Define the DEBUG macro in all debug builds
|
// Define the DEBUG macro in all debug builds
|
||||||
OTHER_CFLAGS = $(OTHER_CFLAGS) -DDEBUG=1
|
OTHER_CFLAGS = $(OTHER_CFLAGS) -DDEBUG=1
|
||||||
|
|
||||||
// These are turned off to avoid STL incompatibilities with client code
|
// These are turned off to avoid STL incompatibilities with client code
|
||||||
// // Turns on special C++ STL checks to "encourage" good STL use
|
// // Turns on special C++ STL checks to "encourage" good STL use
|
||||||
// GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS
|
// GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
//
|
//
|
||||||
// FrameworkTarget.xcconfig
|
// FrameworkTarget.xcconfig
|
||||||
//
|
//
|
||||||
// These are Framework target settings for the gtest framework and examples. It
|
// These are Framework target settings for the gtest framework and examples. It
|
||||||
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
||||||
// This file is based on the Xcode Configuration files in:
|
// This file is based on the Xcode Configuration files in:
|
||||||
// http://code.google.com/p/google-toolbox-for-mac/
|
// http://code.google.com/p/google-toolbox-for-mac/
|
||||||
//
|
//
|
||||||
|
|
||||||
// Dynamic libs need to be position independent
|
// Dynamic libs need to be position independent
|
||||||
GCC_DYNAMIC_NO_PIC = NO
|
GCC_DYNAMIC_NO_PIC = NO
|
||||||
|
|
||||||
// Dynamic libs should not have their external symbols stripped.
|
// Dynamic libs should not have their external symbols stripped.
|
||||||
STRIP_STYLE = non-global
|
STRIP_STYLE = non-global
|
||||||
|
|
||||||
// Let the user install by specifying the $DSTROOT with xcodebuild
|
// Let the user install by specifying the $DSTROOT with xcodebuild
|
||||||
SKIP_INSTALL = NO
|
SKIP_INSTALL = NO
|
||||||
|
@ -1,41 +1,41 @@
|
|||||||
//
|
//
|
||||||
// General.xcconfig
|
// General.xcconfig
|
||||||
//
|
//
|
||||||
// These are General configuration settings for the gtest framework and
|
// These are General configuration settings for the gtest framework and
|
||||||
// examples.
|
// examples.
|
||||||
// This file is based on the Xcode Configuration files in:
|
// This file is based on the Xcode Configuration files in:
|
||||||
// http://code.google.com/p/google-toolbox-for-mac/
|
// http://code.google.com/p/google-toolbox-for-mac/
|
||||||
//
|
//
|
||||||
|
|
||||||
// Build for PPC and Intel, 32- and 64-bit
|
// Build for PPC and Intel, 32- and 64-bit
|
||||||
ARCHS = i386 x86_64 ppc ppc64
|
ARCHS = i386 x86_64 ppc ppc64
|
||||||
|
|
||||||
// Zerolink prevents link warnings so turn it off
|
// Zerolink prevents link warnings so turn it off
|
||||||
ZERO_LINK = NO
|
ZERO_LINK = NO
|
||||||
|
|
||||||
// Prebinding considered unhelpful in 10.3 and later
|
// Prebinding considered unhelpful in 10.3 and later
|
||||||
PREBINDING = NO
|
PREBINDING = NO
|
||||||
|
|
||||||
// Strictest warning policy
|
// Strictest warning policy
|
||||||
WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare
|
WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare
|
||||||
|
|
||||||
// Work around Xcode bugs by using external strip. See:
|
// Work around Xcode bugs by using external strip. See:
|
||||||
// http://lists.apple.com/archives/Xcode-users/2006/Feb/msg00050.html
|
// http://lists.apple.com/archives/Xcode-users/2006/Feb/msg00050.html
|
||||||
SEPARATE_STRIP = YES
|
SEPARATE_STRIP = YES
|
||||||
|
|
||||||
// Force C99 dialect
|
// Force C99 dialect
|
||||||
GCC_C_LANGUAGE_STANDARD = c99
|
GCC_C_LANGUAGE_STANDARD = c99
|
||||||
|
|
||||||
// not sure why apple defaults this on, but it's pretty risky
|
// not sure why apple defaults this on, but it's pretty risky
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO
|
ALWAYS_SEARCH_USER_PATHS = NO
|
||||||
|
|
||||||
// Turn on position dependent code for most cases (overridden where appropriate)
|
// Turn on position dependent code for most cases (overridden where appropriate)
|
||||||
GCC_DYNAMIC_NO_PIC = YES
|
GCC_DYNAMIC_NO_PIC = YES
|
||||||
|
|
||||||
// Default SDK and minimum OS version is 10.4
|
// Default SDK and minimum OS version is 10.4
|
||||||
SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
|
SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.4
|
MACOSX_DEPLOYMENT_TARGET = 10.4
|
||||||
GCC_VERSION = 4.0
|
GCC_VERSION = 4.0
|
||||||
|
|
||||||
// VERSIONING BUILD SETTINGS (used in Info.plist)
|
// VERSIONING BUILD SETTINGS (used in Info.plist)
|
||||||
GTEST_VERSIONINFO_ABOUT = © 2008 Google Inc.
|
GTEST_VERSIONINFO_ABOUT = © 2008 Google Inc.
|
||||||
|
@ -1,32 +1,32 @@
|
|||||||
//
|
//
|
||||||
// ReleaseProject.xcconfig
|
// ReleaseProject.xcconfig
|
||||||
//
|
//
|
||||||
// These are Release Configuration project settings for the gtest framework
|
// These are Release Configuration project settings for the gtest framework
|
||||||
// and examples. It is set in the "Based On:" dropdown in the "Project" info
|
// and examples. It is set in the "Based On:" dropdown in the "Project" info
|
||||||
// dialog.
|
// dialog.
|
||||||
// This file is based on the Xcode Configuration files in:
|
// This file is based on the Xcode Configuration files in:
|
||||||
// http://code.google.com/p/google-toolbox-for-mac/
|
// http://code.google.com/p/google-toolbox-for-mac/
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "General.xcconfig"
|
#include "General.xcconfig"
|
||||||
|
|
||||||
// subconfig/Release.xcconfig
|
// subconfig/Release.xcconfig
|
||||||
|
|
||||||
// Optimize for space and size (Apple recommendation)
|
// Optimize for space and size (Apple recommendation)
|
||||||
GCC_OPTIMIZATION_LEVEL = s
|
GCC_OPTIMIZATION_LEVEL = s
|
||||||
|
|
||||||
// Deploment postprocessing is what triggers Xcode to strip
|
// Deploment postprocessing is what triggers Xcode to strip
|
||||||
DEPLOYMENT_POSTPROCESSING = YES
|
DEPLOYMENT_POSTPROCESSING = YES
|
||||||
|
|
||||||
// No symbols
|
// No symbols
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
|
||||||
|
|
||||||
// Dead code strip does not affect ObjC code but can help for C
|
// Dead code strip does not affect ObjC code but can help for C
|
||||||
DEAD_CODE_STRIPPING = YES
|
DEAD_CODE_STRIPPING = YES
|
||||||
|
|
||||||
// NDEBUG is used by things like assert.h, so define it for general compat.
|
// NDEBUG is used by things like assert.h, so define it for general compat.
|
||||||
// ASSERT going away in release tends to create unused vars.
|
// ASSERT going away in release tends to create unused vars.
|
||||||
OTHER_CFLAGS = $(OTHER_CFLAGS) -DNDEBUG=1 -Wno-unused-variable
|
OTHER_CFLAGS = $(OTHER_CFLAGS) -DNDEBUG=1 -Wno-unused-variable
|
||||||
|
|
||||||
// When we strip we want to strip all symbols in release, but save externals.
|
// When we strip we want to strip all symbols in release, but save externals.
|
||||||
STRIP_STYLE = all
|
STRIP_STYLE = all
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
//
|
//
|
||||||
// StaticLibraryTarget.xcconfig
|
// StaticLibraryTarget.xcconfig
|
||||||
//
|
//
|
||||||
// These are static library target settings for libgtest.a. It
|
// These are static library target settings for libgtest.a. It
|
||||||
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
||||||
// This file is based on the Xcode Configuration files in:
|
// This file is based on the Xcode Configuration files in:
|
||||||
// http://code.google.com/p/google-toolbox-for-mac/
|
// http://code.google.com/p/google-toolbox-for-mac/
|
||||||
//
|
//
|
||||||
|
|
||||||
// Static libs can be included in bundles so make them position independent
|
// Static libs can be included in bundles so make them position independent
|
||||||
GCC_DYNAMIC_NO_PIC = NO
|
GCC_DYNAMIC_NO_PIC = NO
|
||||||
|
|
||||||
// Static libs should not have their internal globals or external symbols
|
// Static libs should not have their internal globals or external symbols
|
||||||
// stripped.
|
// stripped.
|
||||||
STRIP_STYLE = debugging
|
STRIP_STYLE = debugging
|
||||||
|
|
||||||
// Let the user install by specifying the $DSTROOT with xcodebuild
|
// Let the user install by specifying the $DSTROOT with xcodebuild
|
||||||
SKIP_INSTALL = NO
|
SKIP_INSTALL = NO
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
//
|
//
|
||||||
// TestTarget.xcconfig
|
// TestTarget.xcconfig
|
||||||
//
|
//
|
||||||
// These are Test target settings for the gtest framework and examples. It
|
// These are Test target settings for the gtest framework and examples. It
|
||||||
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
// is set in the "Based On:" dropdown in the "Target" info dialog.
|
||||||
|
|
||||||
PRODUCT_NAME = $(TARGET_NAME)
|
PRODUCT_NAME = $(TARGET_NAME)
|
||||||
HEADER_SEARCH_PATHS = ../include
|
HEADER_SEARCH_PATHS = ../include
|
||||||
|
Loading…
Reference in New Issue
Block a user