PageRenderTime 16ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
21// Xcode doesn't allow you to "inherit" settings with includes so you always
22// end up overriding settings accidentally. To avoid this, we instead
23// allow you to define settings at different levels 
24// (GENERAL, PLATFORM (iPhone/Mac), CONFIGURATION (Release/Debug) and we merge
25// those together here. 
26// We DO NOT inherit OTHER_CPLUSPLUSFLAGS because OTHER_CPLUSPLUSFLAGS by default
27// takes on OTHER_CFLAGS settings, and we don't want those applied to our
28// C++ files. OTHER_CFLAGS is the only way to set C specific settings on our
29// C files that we don't want to have applied to our C++ files such as
30// -Wold-style-definition
31// If you would like to add your own custom settings to the base GTM ones
32// please use the GTM_HOST_* settings. These are left empty by GTM and are
33// for the host app to fill in. For example if you wanted to have stack
34// protection turned on for both debug and release builds you could set
35// GTM_HOST_OTHER_CFLAGS = -fstack-protector -fstack-protector-all
36// in your own settings files, and then include the GTM ones.
37
38WARNING_CFLAGS = $(inherited) $(GTM_GENERAL_WARNING_CFLAGS) $(GTM_PLATFORM_WARNING_CFLAGS) $(GTM_CONFIGURATION_WARNING_CFLAGS) $(GTM_HOST_WARNING_CFLAGS)
39OTHER_CFLAGS = $(inherited) $(GTM_GENERAL_OTHER_CFLAGS) $(GTM_PLATFORM_OTHER_CFLAGS) $(GTM_CONFIGURATION_OTHER_CFLAGS) $(GTM_HOST_OTHER_CFLAGS)
40OTHER_CPLUSPLUSFLAGS = $(GTM_GENERAL_OTHER_CPLUSPLUSFLAGS) $(GTM_PLATFORM_OTHER_CPLUSPLUSFLAGS) $(GTM_CONFIGURATION_OTHER_CPLUSPLUSFLAGS) $(GTM_HOST_OTHER_CPLUSPLUSFLAGS)
41GCC_PREPROCESSOR_DEFINITIONS = $(inherited) $(GTM_GENERAL_GCC_PREPROCESSOR_DEFINITIONS) $(GTM_PLATFORM_GCC_PREPROCESSOR_DEFINITIONS) $(GTM_CONFIGURATION_GCC_PREPROCESSOR_DEFINITIONS) $(GTM_HOST_GCC_PREPROCESSOR_DEFINITIONS)
42OTHER_LDFLAGS = $(inherited) $(GTM_GENERAL_OTHER_LDFLAGS) $(GTM_PLATFORM_OTHER_LDFLAGS) $(GTM_CONFIGURATION_OTHER_LDFLAGS) $(GTM_HOST_OTHER_LDFLAGS)