PageRenderTime 21ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/google-toolbox-for-mac/XcodeConfig/subconfig/Debug.xcconfig

http://macfuse.googlecode.com/
Xcode Config | 47 lines | 8 code | 7 blank | 32 comment | 0 complexity | 27765a1d5c1aeadbe63b8edbec577bb4 MD5 | raw file
 1//
 2//  Debug.xcconfig
 3//
 4//  General Xcode configuration file for Debug targets.
 5//
 6//  Copyright 2006-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// No optimization
22GCC_OPTIMIZATION_LEVEL = 0
23
24// Deployment postprocessing is what triggers Xcode to strip, turn it off
25DEPLOYMENT_POSTPROCESSING = NO
26
27// Dead code stripping off
28DEAD_CODE_STRIPPING = NO
29
30// Debug symbols should be on obviously
31GCC_GENERATE_DEBUGGING_SYMBOLS = YES
32
33// Turn off warnings about uninitialized autos
34// can only be done when GCC_OPTIMIZATION_LEVEL is actually optimizing
35GCC_WARN_UNINITIALIZED_AUTOS = NO
36
37// Turns on special C++ STL checks to "encourage" good STL use
38// Currently turned off as this is broken using gcc 4.2, and there's no good way
39// to conditionalize it.
40// http://stackoverflow.com/questions/1416096/c-debug-builds-broke-in-snow-leopard-x-code
41//GTM_CONFIGURATION_GCC_PREPROCESSOR_DEFINITIONS = _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS DEBUG=1
42GTM_CONFIGURATION_GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
43
44// Turns on stack protection on debug builds for Leopard and above
45GTM_CONFIGURATION_OTHER_CFLAGS = -fstack-protector -fstack-protector-all
46// Stack protection doesn't exist on Tiger
47GTM_CONFIGURATION_OTHER_CFLAGS[sdk=macosx10.4*] =