github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/src/third_party/googlemock/gtest/xcode/Config/ReleaseProject.xcconfig (about) 1 // 2 // ReleaseProject.xcconfig 3 // 4 // These are Release Configuration project settings for the gtest framework 5 // and examples. It is set in the "Based On:" dropdown in the "Project" info 6 // dialog. 7 // This file is based on the Xcode Configuration files in: 8 // http://code.google.com/p/google-toolbox-for-mac/ 9 // 10 11 #include "General.xcconfig" 12 13 // subconfig/Release.xcconfig 14 15 // Optimize for space and size (Apple recommendation) 16 GCC_OPTIMIZATION_LEVEL = s 17 18 // Deploment postprocessing is what triggers Xcode to strip 19 DEPLOYMENT_POSTPROCESSING = YES 20 21 // No symbols 22 GCC_GENERATE_DEBUGGING_SYMBOLS = NO 23 24 // Dead code strip does not affect ObjC code but can help for C 25 DEAD_CODE_STRIPPING = YES 26 27 // NDEBUG is used by things like assert.h, so define it for general compat. 28 // ASSERT going away in release tends to create unused vars. 29 OTHER_CFLAGS = $(OTHER_CFLAGS) -DNDEBUG=1 -Wno-unused-variable 30 31 // When we strip we want to strip all symbols in release, but save externals. 32 STRIP_STYLE = all