Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 61 lines (45 sloc) 1.782 kB
facf2ba @andreberg Simplify Xcode's build settings on project and target level by using …
andreberg authored
1 //
2 // Common.xcconfig
3 // GitX
4 //
5 // Created by Andre Berg on 25.03.10.
6 // Copyright 2010 Berg Media. All rights reserved.
7 //
8 // Licensed under the Apache License, Version 2.0 (the "License");
9 // you may not use this file except in compliance with the License.
10 // You may obtain a copy 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,
16 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 // See the License for the specific language governing permissions and
18 // limitations under the License.
19
20 // Archs and Target SDKs
21
22 ARCHS = ppc i386 x86_64
23 SDKROOT = macosx10.5
24 MACOSX_DEPLOYMENT_TARGET = 10.5
25
26 // Search Paths
27
28 HEADER_SEARCH_PATHS = libgit2/src
29 LIBRARY_SEARCH_PATHS = libgit2
30 FRAMEWORK_SEARCH_PATHS = $(inherited) "$(SRCROOT)"
31
32 // Info.plist
33
34 INFOPLIST_PREPROCESS = YES
35 INFOPLIST_OTHER_PREPROCESSOR_FLAGS = -traditional
36 INFOPLIST_FILE = Info.plist
37 INFOPLIST_PREFIX_HEADER = $PROJECT_TEMP_DIR/revision // needed for the `git describe --long` output in the about dialog
38
39 // Compiler
40
41 GCC_ENABLE_OBJC_GC = required
42 // GCC_VERSION = // System Default (GCC 4.2)
43 GCC_VERSION = com.apple.compilers.llvmgcc42 // LLVM GCC 4.2
44 // GCC_VERSION = com.apple.compilers.llvm.clang.1_0 // Clang LLVM 1.0
45 GCC_C_LANGUAGE_STANDARD = gnu99
46
47 // Prefix Header
48
49 GCC_PRECOMPILE_PREFIX_HEADER = YES
50 GCC_PREFIX_HEADER = GitX_Prefix.pch
51
52 // Linking
53
54 PREBINDING = NO
55 ZERO_LINK = NO // this is no longer needed
56
57 // Other
58
59 LLVM_LTO = NO // Link-Time Optimization causes a Rel32 address space error when linking (since we now target x86_64 inclusively)
60
Something went wrong with that request. Please try again.