/core/externals/update-engine/externals/google-toolbox-for-mac/XcodeConfig/subconfig/GTMMerge.xcconfig

http://macfuse.googlecode.com/ · Xcode Config · 42 lines · 5 code · 2 blank · 35 comment · 0 complexity · e6853e5c739eb8316ee0bf0204791198 MD5 · raw file

  1. //
  2. // GTMMerge.xcconfig
  3. //
  4. // Xcode configuration file that merges other xcconfig settings.
  5. //
  6. // Copyright 2008 Google Inc.
  7. //
  8. // Licensed under the Apache License, Version 2.0 (the "License"); you may not
  9. // use this file except in compliance with the License. You may obtain a copy
  10. // of the License at
  11. //
  12. // http://www.apache.org/licenses/LICENSE-2.0
  13. //
  14. // Unless required by applicable law or agreed to in writing, software
  15. // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  16. // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  17. // License for the specific language governing permissions and limitations under
  18. // the License.
  19. //
  20. // Xcode doesn't allow you to "inherit" settings with includes so you always
  21. // end up overriding settings accidentally. To avoid this, we instead
  22. // allow you to define settings at different levels
  23. // (GENERAL, PLATFORM (iPhone/Mac), CONFIGURATION (Release/Debug) and we merge
  24. // those together here.
  25. // We DO NOT inherit OTHER_CPLUSPLUSFLAGS because OTHER_CPLUSPLUSFLAGS by default
  26. // takes on OTHER_CFLAGS settings, and we don't want those applied to our
  27. // C++ files. OTHER_CFLAGS is the only way to set C specific settings on our
  28. // C files that we don't want to have applied to our C++ files such as
  29. // -Wold-style-definition
  30. // If you would like to add your own custom settings to the base GTM ones
  31. // please use the GTM_HOST_* settings. These are left empty by GTM and are
  32. // for the host app to fill in. For example if you wanted to have stack
  33. // protection turned on for both debug and release builds you could set
  34. // GTM_HOST_OTHER_CFLAGS = -fstack-protector -fstack-protector-all
  35. // in your own settings files, and then include the GTM ones.
  36. WARNING_CFLAGS = $(inherited) $(GTM_GENERAL_WARNING_CFLAGS) $(GTM_PLATFORM_WARNING_CFLAGS) $(GTM_CONFIGURATION_WARNING_CFLAGS) $(GTM_HOST_WARNING_CFLAGS)
  37. OTHER_CFLAGS = $(inherited) $(GTM_GENERAL_OTHER_CFLAGS) $(GTM_PLATFORM_OTHER_CFLAGS) $(GTM_CONFIGURATION_OTHER_CFLAGS) $(GTM_HOST_OTHER_CFLAGS)
  38. OTHER_CPLUSPLUSFLAGS = $(GTM_GENERAL_OTHER_CPLUSPLUSFLAGS) $(GTM_PLATFORM_OTHER_CPLUSPLUSFLAGS) $(GTM_CONFIGURATION_OTHER_CPLUSPLUSFLAGS) $(GTM_HOST_OTHER_CPLUSPLUSFLAGS)
  39. GCC_PREPROCESSOR_DEFINITIONS = $(inherited) $(GTM_GENERAL_GCC_PREPROCESSOR_DEFINITIONS) $(GTM_PLATFORM_GCC_PREPROCESSOR_DEFINITIONS) $(GTM_CONFIGURATION_GCC_PREPROCESSOR_DEFINITIONS) $(GTM_HOST_GCC_PREPROCESSOR_DEFINITIONS)
  40. OTHER_LDFLAGS = $(inherited) $(GTM_GENERAL_OTHER_LDFLAGS) $(GTM_PLATFORM_OTHER_LDFLAGS) $(GTM_CONFIGURATION_OTHER_LDFLAGS) $(GTM_HOST_OTHER_LDFLAGS)