Permalink
Browse files

Added new, Xcode recommended build settings to xcconfigs.

  • Loading branch information...
James Snee authored and jeremyhu committed Sep 14, 2018
1 parent 643944e commit 72d7e9d3051af6cea586161bd4c4f3874652cdc7
Showing with 13 additions and 0 deletions.
  1. +11 −0 xcconfigs/common.xcconfig
  2. +2 −0 xcconfigs/common_debug.xcconfig
@@ -47,5 +47,16 @@ GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_LABEL = YES
GCC_WARN_UNUSED_PARAMETER = YES
GCC_WARN_UNUSED_VARIABLE = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
LLVM_LTO = YES
@@ -15,3 +15,5 @@ OTHER_LDFLAGS = $(inherited) $(OTHER_LDFLAGS_debug)
GCC_PREPROCESSOR_DEFINITIONS_asan = $(GCC_PREPROCESSOR_DEFINITIONS_common) XHYVE_CONFIG_ASSERT
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) $(GCC_PREPROCESSOR_DEFINITIONS_common)
ENABLE_TESTABILITY = YES;
ONLY_ACTIVE_ARCH = YES;

0 comments on commit 72d7e9d

Please sign in to comment.