michael@0: // michael@0: // General.xcconfig michael@0: // michael@0: // These are General configuration settings for the gtest framework and michael@0: // examples. michael@0: // This file is based on the Xcode Configuration files in: michael@0: // http://code.google.com/p/google-toolbox-for-mac/ michael@0: // michael@0: michael@0: // Build for PPC and Intel, 32- and 64-bit michael@0: ARCHS = i386 x86_64 ppc ppc64 michael@0: michael@0: // Zerolink prevents link warnings so turn it off michael@0: ZERO_LINK = NO michael@0: michael@0: // Prebinding considered unhelpful in 10.3 and later michael@0: PREBINDING = NO michael@0: michael@0: // Strictest warning policy michael@0: WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare -Wshadow michael@0: michael@0: // Work around Xcode bugs by using external strip. See: michael@0: // http://lists.apple.com/archives/Xcode-users/2006/Feb/msg00050.html michael@0: SEPARATE_STRIP = YES michael@0: michael@0: // Force C99 dialect michael@0: GCC_C_LANGUAGE_STANDARD = c99 michael@0: michael@0: // not sure why apple defaults this on, but it's pretty risky michael@0: ALWAYS_SEARCH_USER_PATHS = NO michael@0: michael@0: // Turn on position dependent code for most cases (overridden where appropriate) michael@0: GCC_DYNAMIC_NO_PIC = YES michael@0: michael@0: // Default SDK and minimum OS version is 10.4 michael@0: SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk michael@0: MACOSX_DEPLOYMENT_TARGET = 10.4 michael@0: GCC_VERSION = 4.0 michael@0: michael@0: // VERSIONING BUILD SETTINGS (used in Info.plist) michael@0: GTEST_VERSIONINFO_ABOUT = © 2008 Google Inc.