-
Notifications
You must be signed in to change notification settings - Fork 1
/
base.xcconfig
57 lines (42 loc) · 1.75 KB
/
base.xcconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// base.xcconfig
// default settings for all targets
// NOTE:
// for i386 and ppc to work, you need to have the Mulle kybernetiK "edocx"
// backwards compatibility tweaks installed and properly setup.
// If you can't use old compilers and linkers on a recent OS, you'll have
// to adjust the settings appropriately.
VALID_ARCHS = x86_64 arm64
ARCHS = x86_64 arm64
// most recent platform SDK
SDKROOT = macosx
SDKROOT[arch=i386] = macosx10.6
SDKROOT[arch=ppc] = macosx10.5
// default minimum target - will be set in Info.plist
MACOSX_DEPLOYMENT_TARGET = 10.15
MACOSX_DEPLOYMENT_TARGET[arch=x86_64] = 10.15
MACOSX_DEPLOYMENT_TARGET[arch=i386] = 10.6
MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.5
MACOSX_DEPLOYMENT_TARGET[arch=arm64] = 11.0
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION[arch=i386] = com.apple.compilers.llvmgcc42
GCC_VERSION[arch=ppc] = com.apple.compilers.llvmgcc42
ALWAYS_SEARCH_USER_PATHS = NO
OTHER_CFLAGS = $(inherited) -D_FILE_OFFSET_BITS=64
// OTHER_LDFLAGS = $(inherited) -framework iTunesLibrary
GCC_PREFIX_HEADER = common.h
GCC_PRECOMPILE_PREFIX_HEADER = YES
GCC_C_LANGUAGE_STANDARD = c99
GCC_ENABLE_OBJC_EXCEPTIONS = YES
GCC_MODEL_TUNING = G5
// special case: ignore 10.8 deprecations until we have a proper workaround
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_TREAT_WARNINGS_AS_ERRORS[sdk=macosx10.5] = YES
GCC_TREAT_WARNINGS_AS_ERRORS[sdk=macosx10.6] = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES
GCC_WARN_UNUSED_VARIABLE = YES
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES
INFOPLIST_FILE = Info.plist
// Using USER_LIBRARY_DIR is a hack to pick up macFUSE.framework but *skip*
// iTunesLibrary.framework as copy in /System/Library/Frameworks has
// no headers!
FRAMEWORK_SEARCH_PATHS = $(inherited) $(USER_LIBRARY_DIR)/Frameworks