diff options
author | Alec Thomas <alec@swapoff.org> | 2013-04-01 23:41:51 -0400 |
---|---|---|
committer | Alec Thomas <alec@swapoff.org> | 2013-04-01 23:41:51 -0400 |
commit | 800ca63c81d3501b84eb625a273847b2ad6e1f19 (patch) | |
tree | db5af3917dd632b59b5dde3ef41f58006425c607 /gtest-1.6.0/xcode/Config/ReleaseProject.xcconfig | |
parent | c3b260b04a2bdf4743595881fd506f73d1efc9f6 (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/ReleaseProject.xcconfig')
-rw-r--r-- | gtest-1.6.0/xcode/Config/ReleaseProject.xcconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gtest-1.6.0/xcode/Config/ReleaseProject.xcconfig b/gtest-1.6.0/xcode/Config/ReleaseProject.xcconfig new file mode 100644 index 0000000..5349f0a --- /dev/null +++ b/gtest-1.6.0/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 |