2 GCC_VERSION = com.apple.compilers.llvm.clang.1_0
3 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
4 CURRENT_PROJECT_VERSION = $(RC_ProjectSourceVersion)
5 VERSIONING_SYSTEM = apple-generic
6 DEAD_CODE_STRIPPING = YES
8 ARCHS = $(ARCHS_STANDARD_32_64_BIT)
10 GCC_WARN_CHECK_SWITCH_STATEMENTS = YES
11 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO // should be YES at some point
12 CLANG_WARN_EMPTY_BODY = YES
13 GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES
14 GCC_WARN_SHADOW = NO // should be yes
15 CLANG_WARN_CONSTANT_CONVERSION = YES
16 GCC_WARN_64_TO_32_BIT_CONVERSION = YES
17 CLANG_WARN_ENUM_CONVERSION = YES
18 CLANG_WARN_INT_CONVERSION = NO// should be yes
19 CLANG_WARN_IMPLICIT_SIGN_CONVERSION = NO // should be yes
20 GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES
21 GCC_WARN_ABOUT_RETURN_TYPE = YES
22 GCC_WARN_MISSING_PARENTHESES = YES
23 GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = NO // should be yes
24 GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES
25 GCC_WARN_ABOUT_MISSING_NEWLINE = YES
27 GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES
28 GCC_WARN_SIGN_COMPARE = YES
29 CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO // should be yes
30 GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES
31 GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES
32 GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES
33 GCC_WARN_UNINITIALIZED_AUTOS = YES
34 GCC_WARN_UNKNOWN_PRAGMAS = YES
35 GCC_WARN_UNUSED_FUNCTION = YES
36 GCC_WARN_UNUSED_LABEL = YES
37 GCC_WARN_UNUSED_PARAMETER = NO // should be yes
38 GCC_WARN_UNUSED_VALUE = YES
39 GCC_WARN_UNUSED_VARIABLE = YES
41 // No executables are made in sec, it can't know how
42 // Therefore we shouldn't strip anyting
43 // if somehow we decide to, the default is debuggable.
46 STRIP_STYLE = debugging
47 STRIP_INSTALLED_PRODUCT = NO
49 WARNING_CFLAGS = -Wglobal-constructors -Wno-deprecated-declarations $(inherited)