aboutsummaryrefslogtreecommitdiff
path: root/third_party/googletest/googletest/xcode/Config/ReleaseProject.xcconfig
diff options
context:
space:
mode:
authorGravatar Jeff McGlynn <jwmcglynn@google.com>2018-06-18 10:53:11 -0700
committerGravatar Jeff McGlynn <jwmcglynn@google.com>2018-06-18 10:53:11 -0700
commita37e15d3e186b2377aeeb1bbf8cf62f3615c841c (patch)
treeafaba51791f31f9e40af31ca0b698cdf635c3cc3 /third_party/googletest/googletest/xcode/Config/ReleaseProject.xcconfig
parent2b3d25cf8ec91dc5c9b74980a8f8fa9278f0a00e (diff)
parentfa9c8eaf4fe936f35dd95a1eecfbbb228494522d (diff)
Merge commit 'fa9c8eaf4fe936f35dd95a1eecfbbb228494522d' as 'third_party/googletest'
Diffstat (limited to 'third_party/googletest/googletest/xcode/Config/ReleaseProject.xcconfig')
-rw-r--r--third_party/googletest/googletest/xcode/Config/ReleaseProject.xcconfig32
1 files changed, 32 insertions, 0 deletions
diff --git a/third_party/googletest/googletest/xcode/Config/ReleaseProject.xcconfig b/third_party/googletest/googletest/xcode/Config/ReleaseProject.xcconfig
new file mode 100644
index 0000000..5349f0a
--- /dev/null
+++ b/third_party/googletest/googletest/xcode/Config/ReleaseProject.xcconfig
@@ -0,0 +1,32 @@
+//
+// ReleaseProject.xcconfig
+//
+// These are Release 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"
+
+// subconfig/Release.xcconfig
+
+// Optimize for space and size (Apple recommendation)
+GCC_OPTIMIZATION_LEVEL = s
+
+// Deploment postprocessing is what triggers Xcode to strip
+DEPLOYMENT_POSTPROCESSING = YES
+
+// No symbols
+GCC_GENERATE_DEBUGGING_SYMBOLS = NO
+
+// Dead code strip does not affect ObjC code but can help for C
+DEAD_CODE_STRIPPING = YES
+
+// NDEBUG is used by things like assert.h, so define it for general compat.
+// ASSERT going away in release tends to create unused vars.
+OTHER_CFLAGS = $(OTHER_CFLAGS) -DNDEBUG=1 -Wno-unused-variable
+
+// When we strip we want to strip all symbols in release, but save externals.
+STRIP_STYLE = all