4 // These are General configuration settings for the gtest framework and
6 // This file is based on the Xcode Configuration files in:
7 // https://github.com/google/google-toolbox-for-mac
10 // Build for PPC and Intel, 32- and 64-bit
11 ARCHS = i386 x86_64 ppc ppc64
13 // Zerolink prevents link warnings so turn it off
16 // Prebinding considered unhelpful in 10.3 and later
19 // Strictest warning policy
20 WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare -Wshadow
22 // Work around Xcode bugs by using external strip. See:
23 // http://lists.apple.com/archives/Xcode-users/2006/Feb/msg00050.html
27 GCC_C_LANGUAGE_STANDARD = c99
29 // not sure why apple defaults this on, but it's pretty risky
30 ALWAYS_SEARCH_USER_PATHS = NO
32 // Turn on position dependent code for most cases (overridden where appropriate)
33 GCC_DYNAMIC_NO_PIC = YES
35 // Default SDK and minimum OS version is 10.4
36 SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
37 MACOSX_DEPLOYMENT_TARGET = 10.4
40 // VERSIONING BUILD SETTINGS (used in Info.plist)
41 GTEST_VERSIONINFO_ABOUT = © 2008 Google Inc.