General.xcconfig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. // Build for PPC and Intel, 32- and 64-bit
  10. ARCHS = i386 x86_64 ppc ppc64
  11. // Zerolink prevents link warnings so turn it off
  12. ZERO_LINK = NO
  13. // Prebinding considered unhelpful in 10.3 and later
  14. PREBINDING = NO
  15. // Strictest warning policy
  16. WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare -Wshadow
  17. // Work around Xcode bugs by using external strip. See:
  18. // http://lists.apple.com/archives/Xcode-users/2006/Feb/msg00050.html
  19. SEPARATE_STRIP = YES
  20. // Force C99 dialect
  21. GCC_C_LANGUAGE_STANDARD = c99
  22. // not sure why apple defaults this on, but it's pretty risky
  23. ALWAYS_SEARCH_USER_PATHS = NO
  24. // Turn on position dependent code for most cases (overridden where appropriate)
  25. GCC_DYNAMIC_NO_PIC = YES
  26. // Default SDK and minimum OS version is 10.4
  27. SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
  28. MACOSX_DEPLOYMENT_TARGET = 10.4
  29. GCC_VERSION = 4.0
  30. // VERSIONING BUILD SETTINGS (used in Info.plist)
  31. GTEST_VERSIONINFO_ABOUT = © 2008 Google Inc.