From 57cfd68270464f6bbc52f12791947e4622449417 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Sun, 28 Oct 2018 17:17:31 +0200 Subject: Squashed 'JSImpl/test/googletest/' content from commit 2fe3bd9 git-subtree-dir: JSImpl/test/googletest git-subtree-split: 2fe3bd994b3189899d93f1d5a881e725e046fdc2 --- googletest/xcode/Config/ReleaseProject.xcconfig | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 googletest/xcode/Config/ReleaseProject.xcconfig (limited to 'googletest/xcode/Config/ReleaseProject.xcconfig') diff --git a/googletest/xcode/Config/ReleaseProject.xcconfig b/googletest/xcode/Config/ReleaseProject.xcconfig new file mode 100644 index 0000000..df9a38f --- /dev/null +++ b/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: +// https://github.com/google/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 -- cgit v1.3.1-26-gb76a