aboutsummaryrefslogtreecommitdiffstats
path: root/gtest-1.6.0/xcode/Config/DebugProject.xcconfig
diff options
context:
space:
mode:
authorAlec Thomas <alec@swapoff.org>2013-04-01 23:41:51 -0400
committerAlec Thomas <alec@swapoff.org>2013-04-01 23:41:51 -0400
commit800ca63c81d3501b84eb625a273847b2ad6e1f19 (patch)
treedb5af3917dd632b59b5dde3ef41f58006425c607 /gtest-1.6.0/xcode/Config/DebugProject.xcconfig
parentc3b260b04a2bdf4743595881fd506f73d1efc9f6 (diff)
Include gtest (as per gtest recommendations).
See https://groups.google.com/forum/?fromgroups=#!topic/googletestframework/Zo7_HOv1MJ0
Diffstat (limited to 'gtest-1.6.0/xcode/Config/DebugProject.xcconfig')
-rw-r--r--gtest-1.6.0/xcode/Config/DebugProject.xcconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/gtest-1.6.0/xcode/Config/DebugProject.xcconfig b/gtest-1.6.0/xcode/Config/DebugProject.xcconfig
new file mode 100644
index 0000000..3d68157
--- /dev/null
+++ b/gtest-1.6.0/xcode/Config/DebugProject.xcconfig
@@ -0,0 +1,30 @@
+//
+// DebugProject.xcconfig
+//
+// These are Debug Configuration project settings for the gtest framework and
+// examples. It is set in the "Based On:" dropdown in the "Project" info
+// dialog.
+// This file is based on the Xcode Configuration files in:
+// http://code.google.com/p/google-toolbox-for-mac/
+//
+
+#include "General.xcconfig"
+
+// No optimization
+GCC_OPTIMIZATION_LEVEL = 0
+
+// Deployment postprocessing is what triggers Xcode to strip, turn it off
+DEPLOYMENT_POSTPROCESSING = NO
+
+// Dead code stripping off
+DEAD_CODE_STRIPPING = NO
+
+// Debug symbols should be on obviously
+GCC_GENERATE_DEBUGGING_SYMBOLS = YES
+
+// Define the DEBUG macro in all debug builds
+OTHER_CFLAGS = $(OTHER_CFLAGS) -DDEBUG=1
+
+// These are turned off to avoid STL incompatibilities with client code
+// // Turns on special C++ STL checks to "encourage" good STL use
+// GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS