]> git.saurik.com Git - apple/libc.git/blame - xcodescripts/collections.xcconfig
Libc-1439.100.3.tar.gz
[apple/libc.git] / xcodescripts / collections.xcconfig
CommitLineData
a9aaacca
A
1#include "<DEVELOPER_DIR>/Makefiles/CoreOS/Xcode/BSD.xcconfig"
2
3// Versioning
4
5// RC_ProjectSourceVersion unless it's unset, falling back to RECON_BUILD_VERSION_NONE
6Libcollections_BUILD_VERSION = $(<project>_BUILD_VERSION_$(<project>_BUILD_VERSION_SUFFIX_$(RC_ProjectSourceVersion)))
7
8Libcollections_BUILD_VERSION_ = $(RC_ProjectSourceVersion)
9Libcollections_BUILD_VERSION_SUFFIX_ = NONE
10
11// A high default value for when CURRENT_PROJECT_VERSION is unset (running `~rc/bin/buildit` with no version specified)
12collections_BUILD_VERSION_NONE = 60000
13
14CURRENT_PROJECT_VERSION = $(collections_BUILD_VERSION)
15DYLIB_CURRENT_VERSION = $(collections_BUILD_VERSION)
16MODULE_VERSION = $(collections_BUILD_VERSION)
17
18ARCHS = $(ARCHS_STANDARD)
19ONLY_ACTIVE_ARCH = NO
20ONLY_ACTIVE_ARCH[config=Debug] = YES
21ENABLE_TESTABILITY[config=Debug] = YES
22ALWAYS_SEARCH_USER_PATHS = NO
23USE_HEADERMAP = NO
24INFOPLIST_PREPROCESS = YES
25STRIP_INSTALLED_PRODUCT[config=Debug][sdk=*] = NO
26SKIP_INSTALL = NO
27OTHER_CFLAGS = -fverbose-asm
28SUPPORTS_TEXT_BASED_API = YES
29TAPI_VERIFY_MODE=Pedantic
30CODE_SIGN_IDENTITY = -
31
32// Compiler options
33
34GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS[config=Debug] = DEBUG=1
35
36GCC_C_LANGUAGE_STANDARD = gnu11
37CLANG_CXX_LANGUAGE_STANDARD = gnu++11
38GCC_OPTIMIZATION_LEVEL = s
39GCC_OPTIMIZATION_LEVEL[config=Debug] = 0
40CLANG_ENABLE_OBJC_ARC = YES
41CLANG_LINK_OBJC_RUNTIME = NO
42ENABLE_STRICT_OBJC_MSGSEND = YES
43GCC_ENABLE_BUILTIN_FUNCTIONS = YES
44GCC_ENABLE_CPP_EXCEPTIONS = NO
45GCC_ENABLE_PASCAL_STRINGS = NO
46GCC_NO_COMMON_BLOCKS = YES
47GCC_STRICT_ALIASING = YES
48GCC_SYMBOLS_PRIVATE_EXTERN = YES
49GCC_TREAT_WARNINGS_AS_ERRORS = YES
50
51HEADER_SEARCH_PATHS = $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders $(PROJECT_DIR)
52
53// Static analyzer
54
55CLANG_ANALYZER_DEADCODE_DEADSTORES = YES
56CLANG_ANALYZER_GCD = YES
57CLANG_ANALYZER_MEMORY_MANAGEMENT = YES
58CLANG_ANALYZER_NONNULL = YES
59CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES
60CLANG_ANALYZER_SECURITY_INSECUREAPI_GETPW_GETS = YES
61CLANG_ANALYZER_SECURITY_INSECUREAPI_MKSTEMP = YES
62CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES
63CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES
64CLANG_ANALYZER_SECURITY_INSECUREAPI_UNCHECKEDRETURN = YES
65CLANG_ANALYZER_SECURITY_INSECUREAPI_VFORK = YES
66CLANG_ANALYZER_SECURITY_KEYCHAIN_API = YES
67
68
69PRODUCT_NAME = collections
70INSTALL_PATH = /usr/lib/system
71PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/os
72PUBLIC_HEADERS_FOLDER_PATH = /usr/local/include/os
73DYLIB_CURRENT_VERSION = $(CURRENT_PROJECT_VERSION)
74EXECUTABLE_PREFIX = libsystem_
75BUILD_VARIANTS = normal
76CURRENT_PROJECT_VERSION = $(RC_ProjectSourceVersion)
77VERSION_INFO_PREFIX = __
78VERSIONING_SYSTEM = apple-generic
79GCC_SYMBOLS_PRIVATE_EXTERN = YES
80STRIP_STYLE = non-global
81
82SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator iphoneosnano iphonesimulatornano bridgeos
83
84LINK_WITH_STANDARD_LIBRARIES = NO
85OTHER_LDFLAGS = -umbrella System -L/usr/lib/system $(LDFLAGS_DYLD) $(LDFLAGS_COMPILER_RT) $(LDFLAGS_SYSCALL) $(LDFLAGS_MALLOC) $(LDFLAGS_C) $(LDFLAGS_BLOCKS) $(LDFLAGS_DARWIN)
86LDFLAGS_DYLD = -ldyld
87LDFLAGS_COMPILER_RT = -lcompiler_rt
88LDFLAGS_SYSCALL = -lsystem_kernel
89LDFLAGS_SYSCALL[sdk=iphonesimulator*] = -lsystem_sim_kernel
90LDFLAGS_MALLOC = -lsystem_malloc
91LDFLAGS_C = -lsystem_c
92LDFLAGS_BLOCKS = -lsystem_blocks
93LDFLAGS_DARWIN = -lsystem_darwin