aboutsummaryrefslogtreecommitdiff
path: root/lib/gtest/xcode/Config/General.xcconfig
diff options
context:
space:
mode:
authorAndres Mejia <amejia004@gmail.com>2012-06-19 10:59:40 -0400
committerAndres Mejia <amejia004@gmail.com>2012-09-05 15:07:36 -0400
commit79d0e5b72307735821813e1b05744e4a84cda4e9 (patch)
tree7712c9e06f8d064d13cb978af85655a2bd6aab63 /lib/gtest/xcode/Config/General.xcconfig
parentbe472ee6243f782d20de8cb9c73c88605308d66f (diff)
[GSOC] Add latest snapshot of google test (r619).
Diffstat (limited to 'lib/gtest/xcode/Config/General.xcconfig')
-rw-r--r--lib/gtest/xcode/Config/General.xcconfig41
1 files changed, 41 insertions, 0 deletions
diff --git a/lib/gtest/xcode/Config/General.xcconfig b/lib/gtest/xcode/Config/General.xcconfig
new file mode 100644
index 0000000000..f23e322272
--- /dev/null
+++ b/lib/gtest/xcode/Config/General.xcconfig
@@ -0,0 +1,41 @@
+//
+// General.xcconfig
+//
+// These are General configuration settings for the gtest framework and
+// examples.
+// This file is based on the Xcode Configuration files in:
+// http://code.google.com/p/google-toolbox-for-mac/
+//
+
+// Build for PPC and Intel, 32- and 64-bit
+ARCHS = i386 x86_64 ppc ppc64
+
+// Zerolink prevents link warnings so turn it off
+ZERO_LINK = NO
+
+// Prebinding considered unhelpful in 10.3 and later
+PREBINDING = NO
+
+// Strictest warning policy
+WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare -Wshadow
+
+// Work around Xcode bugs by using external strip. See:
+// http://lists.apple.com/archives/Xcode-users/2006/Feb/msg00050.html
+SEPARATE_STRIP = YES
+
+// Force C99 dialect
+GCC_C_LANGUAGE_STANDARD = c99
+
+// not sure why apple defaults this on, but it's pretty risky
+ALWAYS_SEARCH_USER_PATHS = NO
+
+// Turn on position dependent code for most cases (overridden where appropriate)
+GCC_DYNAMIC_NO_PIC = YES
+
+// Default SDK and minimum OS version is 10.4
+SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
+MACOSX_DEPLOYMENT_TARGET = 10.4
+GCC_VERSION = 4.0
+
+// VERSIONING BUILD SETTINGS (used in Info.plist)
+GTEST_VERSIONINFO_ABOUT = © 2008 Google Inc.