You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
993 B

  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. #include "General.xcconfig"
  11. // subconfig/Release.xcconfig
  12. // Optimize for space and size (Apple recommendation)
  13. GCC_OPTIMIZATION_LEVEL = s
  14. // Deploment postprocessing is what triggers Xcode to strip
  15. DEPLOYMENT_POSTPROCESSING = YES
  16. // No symbols
  17. GCC_GENERATE_DEBUGGING_SYMBOLS = NO
  18. // Dead code strip does not affect ObjC code but can help for C
  19. DEAD_CODE_STRIPPING = YES
  20. // NDEBUG is used by things like assert.h, so define it for general compat.
  21. // ASSERT going away in release tends to create unused vars.
  22. OTHER_CFLAGS = $(OTHER_CFLAGS) -DNDEBUG=1 -Wno-unused-variable
  23. // When we strip we want to strip all symbols in release, but save externals.
  24. STRIP_STYLE = all