Home | History | Annotate | Download | only in Config
      1 //
      2 //  General.xcconfig
      3 //
      4 //  These are General configuration settings for the gtest framework and
      5 //  examples.
      6 //  This file is based on the Xcode Configuration files in:
      7 //  http://code.google.com/p/google-toolbox-for-mac/
      8 // 
      9 
     10 // Build for PPC and Intel, 32- and 64-bit
     11 ARCHS = i386 x86_64 ppc ppc64
     12 
     13 // Zerolink prevents link warnings so turn it off
     14 ZERO_LINK = NO
     15 
     16 // Prebinding considered unhelpful in 10.3 and later
     17 PREBINDING = NO
     18 
     19 // Strictest warning policy
     20 WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare -Wshadow
     21 
     22 // Work around Xcode bugs by using external strip. See:
     23 // http://lists.apple.com/archives/Xcode-users/2006/Feb/msg00050.html
     24 SEPARATE_STRIP = YES
     25 
     26 // Force C99 dialect
     27 GCC_C_LANGUAGE_STANDARD = c99
     28 
     29 // not sure why apple defaults this on, but it's pretty risky
     30 ALWAYS_SEARCH_USER_PATHS = NO
     31 
     32 // Turn on position dependent code for most cases (overridden where appropriate)
     33 GCC_DYNAMIC_NO_PIC = YES
     34 
     35 // Default SDK and minimum OS version is 10.4
     36 SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
     37 MACOSX_DEPLOYMENT_TARGET = 10.4
     38 GCC_VERSION = 4.0
     39 
     40 // VERSIONING BUILD SETTINGS (used in Info.plist)
     41 GTEST_VERSIONINFO_ABOUT =   2008 Google Inc.
     42