Skip to content

Instantly share code, notes, and snippets.

@michaelbartnett
Created February 25, 2020 10:12
Show Gist options
  • Save michaelbartnett/e4d3fbb1842bd4e9536708d8f55e61d8 to your computer and use it in GitHub Desktop.
Save michaelbartnett/e4d3fbb1842bd4e9536708d8f55e61d8 to your computer and use it in GitHub Desktop.

Revisions

  1. michaelbartnett created this gist Feb 25, 2020.
    39 changes: 39 additions & 0 deletions premake.lua
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@
    xcodeprojectopts {
    -- MACOSX_DEPLOYMENT_TARGET="10.6",

    -- -- ALWAYS_SEARCH_USER_PATHS = "YES",
    -- ONLY_ACTIVE_ARCH = "YES",
    -- ENABLE_TESTABILITY = "YES",

    -- CLANG_WARN_INFINITE_RECURSION = "YES",
    -- CLANG_WARN_UNREACHABLE_CODE = "YES",
    -- GCC_WARN_UNUSED_FUNCTION = "YES",
    -- GCC_WARN_UNINITIALIZED_AUTOS = "YES",
    -- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = "YES",
    -- CLANG_WARN__DUPLICATE_METHOD_MATCH = "YES",
    -- CLANG_WARN_EMPTY_BODY = "YES",
    -- ENABLE_STRICT_OBJC_MSGSEND = "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_NON_LITERAL_NULL_CONVERSION = "YES",
    -- CLANG_WARN_OBJC_LITERAL_CONVERSION = "YES",
    -- GCC_NO_COMMON_BLOCKS = "YES",
    -- CLANG_WARN_RANGE_LOOP_ANALYSIS = "YES",
    -- CLANG_WARN_STRICT_PROTOTYPES = "YES",
    -- CLANG_WARN_COMMA = "YES",
    -- CLANG_WARN_SUSPICIOUS_MOVE = "YES",
    -- GCC_WARN_UNDECLARED_SELECTOR = "YES",
    CLANG_ENABLE_OBJC_WEAK = "YES",
    CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = "YES",
    CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = "YES",
    MACOSX_DEPLOYMENT_TARGET="10.13",

    CLANG_CXX_LIBRARY = "libc++",
    }

    xcodetargetopts {
    CODE_SIGN_IDENTITY = "-",
    }