<http://webkit.org/b/91024> Build against the latest SDK when targeting older OS...
[WebKit-https.git] / Source / ThirdParty / ANGLE / Configurations / Base.xcconfig
1 #include "CompilerVersion.xcconfig"
2
3 DEAD_CODE_STRIPPING = YES;
4 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
5 GCC_C_LANGUAGE_STANDARD = gnu99;
6 GCC_DEBUGGING_SYMBOLS = default;
7 GCC_ENABLE_CPP_EXCEPTIONS = NO;
8 GCC_ENABLE_CPP_RTTI = NO;
9 GCC_ENABLE_OBJC_EXCEPTIONS = YES;
10 GCC_ENABLE_OBJC_GC = supported;
11 GCC_ENABLE_SYMBOL_SEPARATION = NO;
12 GCC_FAST_OBJC_DISPATCH = YES;
13 GCC_MODEL_TUNING = G5;
14 GCC_OBJC_CALL_CXX_CDTORS = YES;
15 GCC_OPTIMIZATION_LEVEL = s;
16 GCC_PRECOMPILE_PREFIX_HEADER = NO;
17 GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
18 GCC_SYMBOLS_PRIVATE_EXTERN = NO;
19 GCC_THREADSAFE_STATICS = NO;
20 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
21 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
22 GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
23 LINKER_DISPLAYS_MANGLED_NAMES = YES;
24 PREBINDING = NO;
25 STRIP_INSTALLED_PRODUCT = NO;
26
27 CLANG_CXX_LIBRARY = $(CLANG_CXX_LIBRARY_$(TARGET_MAC_OS_X_VERSION_MAJOR));
28 CLANG_CXX_LIBRARY_1060 = libstdc++;
29 CLANG_CXX_LIBRARY_1070 = libc++;
30 CLANG_CXX_LIBRARY_1080 = libc++;
31 CLANG_CXX_LIBRARY_1090 = libc++;
32
33 REAL_PLATFORM_NAME = $(REAL_PLATFORM_NAME_$(PLATFORM_NAME));
34 REAL_PLATFORM_NAME_ = $(REAL_PLATFORM_NAME_macosx);
35 REAL_PLATFORM_NAME_iphoneos = iphoneos;
36 REAL_PLATFORM_NAME_iphonesimulator = iphonesimulator;
37 REAL_PLATFORM_NAME_macosx = macosx;
38
39 TARGET_MAC_OS_X_VERSION_MAJOR = $(MAC_OS_X_VERSION_MAJOR);
40
41 TARGETING_SAME_OS_X_VERSION = $(TARGETING_SAME_OS_X_VERSION_$(MAC_OS_X_VERSION_MAJOR)_$(TARGET_MAC_OS_X_VERSION_MAJOR));
42 TARGETING_SAME_OS_X_VERSION_1060_1060 = YES;
43 TARGETING_SAME_OS_X_VERSION_1070_1070 = YES;
44 TARGETING_SAME_OS_X_VERSION_1080_1080 = YES;
45 TARGETING_SAME_OS_X_VERSION_1090_1090 = YES;
46
47 // Don't build against an SDK unless we're targeting an older OS version.
48 SDKROOT = $(SDKROOT_TARGETING_SAME_OS_X_VERSION_$(TARGETING_SAME_OS_X_VERSION));
49 SDKROOT_TARGETING_SAME_OS_X_VERSION_ = macosx;