Last active
August 29, 2015 14:18
-
-
Save AJLeuer/3fb423669f3dc17415ba to your computer and use it in GitHub Desktop.
Reusable common build configuration settings for Xcode projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Config.xcconfig | |
// AsteroidsLike | |
// | |
// Created by Adam James Leuer on 4/2/15. | |
// Copyright (c) 2015 Adam James Leuer. All rights reserved. | |
// | |
ALWAYS_SEARCH_USER_PATHS = NO; | |
GCC_C_LANGUAGE_STANDARD = c11; | |
CLANG_CXX_LANGUAGE_STANDARD = c++14; | |
CLANG_CXX_LIBRARY = libc++; | |
GCC_WARN_SHADOW = YES; | |
CLANG_WARN_BOOL_CONVERSION = YES; | |
CLANG_WARN_CONSTANT_CONVERSION = YES; | |
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | |
CLANG_WARN_ENUM_CONVERSION = YES; | |
CLANG_WARN_INT_CONVERSION = YES; | |
CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES; | |
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | |
CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES; | |
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | |
CLANG_WARN_UNREACHABLE_CODE = YES; | |
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; | |
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES; | |
RUN_CLANG_STATIC_ANALYZER = YES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment