diff options
author | shiqian <shiqian@861a406c-534a-0410-8894-cb66d6ee9925> | 2008-07-25 00:54:56 +0000 |
---|---|---|
committer | shiqian <shiqian@861a406c-534a-0410-8894-cb66d6ee9925> | 2008-07-25 00:54:56 +0000 |
commit | dbc56bf84bfa3fe27146b56f468a736941892dcc (patch) | |
tree | 978b06bbab74de8d529107c38d25435ad1f674b9 /xcode/Config/ReleaseProject.xcconfig | |
parent | 253d2bc5760533c136f5b1b34b8c6f03d79fc538 (diff) | |
download | googletest-dbc56bf84bfa3fe27146b56f468a736941892dcc.tar.gz googletest-dbc56bf84bfa3fe27146b56f468a736941892dcc.tar.bz2 googletest-dbc56bf84bfa3fe27146b56f468a736941892dcc.zip |
Adds an Xcode project for building gtest. By Preston Jackson.
Diffstat (limited to 'xcode/Config/ReleaseProject.xcconfig')
-rw-r--r-- | xcode/Config/ReleaseProject.xcconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/xcode/Config/ReleaseProject.xcconfig b/xcode/Config/ReleaseProject.xcconfig new file mode 100644 index 00000000..5349f0a0 --- /dev/null +++ b/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 |