Skip to content

Commit

Permalink
Change build target:
Browse files Browse the repository at this point in the history
 - enable Base region per Xcode warning
 - set target MacOS version as 10.13. This is the earliest currently
   supported version.
 - set `ONLY_ACTIVE_ARCH` to NO so that both debug and release builds are
   generated by default.
 - set optmization level to `-Os` for the release build
  • Loading branch information
scw committed Jul 6, 2020
1 parent b5dbce0 commit 4e168ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Binary file modified bin/MacOS/Lerc.dylib
Binary file not shown.
9 changes: 6 additions & 3 deletions build/MacOS/Lerc64/Lerc64.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = E6C02C6923CA26E80087173B;
productRefGroup = E6C02C7323CA26E80087173B /* Products */;
Expand Down Expand Up @@ -266,10 +267,10 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
ONLY_ACTIVE_ARCH = NO;
SDKROOT = macosx;
};
name = Debug;
Expand Down Expand Up @@ -313,15 +314,17 @@
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = s;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = NO;
SDKROOT = macosx;
};
name = Release;
Expand Down

0 comments on commit 4e168ec

Please sign in to comment.