PageRenderTime 23ms CodeModel.GetById 19ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

Xcode Config | 37 lines | 2 code | 2 blank | 33 comment | 0 complexity | 17aff192c318a50a3a99578ebd820ae7 MD5 | raw file
 2//  ReleaseUnittest.xcconfig
 4//  Xcode configuration file for a release unittest target.
 6//  This is a _Target_ config file, for use in the "Based on" popup of the
 7//  settings dialog for a target. Do not attempt to apply this as the base
 8//  of an Xcode configuration in the project settings dialog.
10//  Copyright 2006-2008 Google Inc.
12//  Licensed under the Apache License, Version 2.0 (the "License"); you may not
13//  use this file except in compliance with the License.  You may obtain a copy
14//  of the License at
18//  Unless required by applicable law or agreed to in writing, software
19//  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
20//  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
21//  License for the specific language governing permissions and limitations under
22//  the License.
25// Unittests are loadable bundles
26#include "../subconfig/Unittest.xcconfig"
28// When running OCUnit tests in Release mode the unittests BUNDLE_LOADER
29// is probably stripped (or at least it will be if they are using our
30// config files). In that case the Unittest will fail to link because
31// the symbols have been removed from the bundle's loader's symbol table.
32// This flag tells the unittest to trust that the values will be available
33// at runtime (or error out) and not to force an error at link time.
34// Do NOT set BUNDLE_LOADER (Bundle Loader) setting in a release unittest target
35// because you will run into interesting link issues
36// "indirect symbol table entry n past the end of the symbol table"
37OTHER_LDFLAGS = $(OTHER_LDFLAGS) -undefined dynamic_lookup