diff options
author | Gabe Black <gabeblack@google.com> | 2017-11-22 18:05:33 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-11-28 10:57:58 +0000 |
commit | 6ea5639a03e0ed11be8ba688a5e3d2352aef9c28 (patch) | |
tree | 5563eb91319d0d8ee69168ad13b5c802ffcc60af /ext/googletest/xcode/Config/ReleaseProject.xcconfig | |
parent | 3812ac349ff221d32a0b0378b40b317b6ff61277 (diff) | |
download | gem5-6ea5639a03e0ed11be8ba688a5e3d2352aef9c28.tar.xz |
tests: Import the googletest library, release version 1.8.0.
Change-Id: Ic6c1391a19238011ff5cc97f513dbdc020dc6144
Reviewed-on: https://gem5-review.googlesource.com/6082
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'ext/googletest/xcode/Config/ReleaseProject.xcconfig')
-rw-r--r-- | ext/googletest/xcode/Config/ReleaseProject.xcconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ext/googletest/xcode/Config/ReleaseProject.xcconfig b/ext/googletest/xcode/Config/ReleaseProject.xcconfig new file mode 100644 index 000000000..5349f0a04 --- /dev/null +++ b/ext/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 |