michael@0: // michael@0: // ReleaseProject.xcconfig michael@0: // michael@0: // These are Release Configuration project settings for the gtest framework michael@0: // and examples. It is set in the "Based On:" dropdown in the "Project" info michael@0: // dialog. michael@0: // This file is based on the Xcode Configuration files in: michael@0: // http://code.google.com/p/google-toolbox-for-mac/ michael@0: // michael@0: michael@0: #include "General.xcconfig" michael@0: michael@0: // subconfig/Release.xcconfig michael@0: michael@0: // Optimize for space and size (Apple recommendation) michael@0: GCC_OPTIMIZATION_LEVEL = s michael@0: michael@0: // Deploment postprocessing is what triggers Xcode to strip michael@0: DEPLOYMENT_POSTPROCESSING = YES michael@0: michael@0: // No symbols michael@0: GCC_GENERATE_DEBUGGING_SYMBOLS = NO michael@0: michael@0: // Dead code strip does not affect ObjC code but can help for C michael@0: DEAD_CODE_STRIPPING = YES michael@0: michael@0: // NDEBUG is used by things like assert.h, so define it for general compat. michael@0: // ASSERT going away in release tends to create unused vars. michael@0: OTHER_CFLAGS = $(OTHER_CFLAGS) -DNDEBUG=1 -Wno-unused-variable michael@0: michael@0: // When we strip we want to strip all symbols in release, but save externals. michael@0: STRIP_STYLE = all