From 2ff488c8c9b262207aa1af9eb2add2e973625043 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 19 Sep 2015 10:50:29 -0400 Subject: [PATCH] Move SWIFT_OPTIMIZATION_LEVEL into global configs --- Configurations/ConfigCommonDebug.xcconfig | 1 + Configurations/ConfigCommonRelease.xcconfig | 1 + Configurations/ConfigUnitTestCommon.xcconfig | 1 - Configurations/ConfigUnitTestRelease.xcconfig | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Configurations/ConfigCommonDebug.xcconfig b/Configurations/ConfigCommonDebug.xcconfig index 824b79b3..2ac1b545 100644 --- a/Configurations/ConfigCommonDebug.xcconfig +++ b/Configurations/ConfigCommonDebug.xcconfig @@ -3,6 +3,7 @@ // Debug only GCC_OPTIMIZATION_LEVEL = 0 +SWIFT_OPTIMIZATION_LEVEL = -Onone DEBUG_INFORMATION_FORMAT = dwarf ENABLE_TESTABILITY = YES GCC_GENERATE_DEBUGGING_SYMBOLS = YES diff --git a/Configurations/ConfigCommonRelease.xcconfig b/Configurations/ConfigCommonRelease.xcconfig index 0888aaff..32eae505 100644 --- a/Configurations/ConfigCommonRelease.xcconfig +++ b/Configurations/ConfigCommonRelease.xcconfig @@ -3,6 +3,7 @@ // Release only GCC_OPTIMIZATION_LEVEL = s +SWIFT_OPTIMIZATION_LEVEL = -Ofast DEBUG_INFORMATION_FORMAT = dwarf-with-dsym GCC_GENERATE_DEBUGGING_SYMBOLS = YES GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS_COMMON) diff --git a/Configurations/ConfigUnitTestCommon.xcconfig b/Configurations/ConfigUnitTestCommon.xcconfig index 47fcf324..2c67260d 100644 --- a/Configurations/ConfigUnitTestCommon.xcconfig +++ b/Configurations/ConfigUnitTestCommon.xcconfig @@ -1,5 +1,4 @@ MACOSX_DEPLOYMENT_TARGET = 10.9 CLANG_ENABLE_MODULES = YES SWIFT_OBJC_BRIDGING_HEADER = Tests/Sparkle Unit Tests-Bridging-Header.h -SWIFT_OPTIMIZATION_LEVEL = -Onone LD_RUNPATH_SEARCH_PATHS = @loader_path/../Frameworks diff --git a/Configurations/ConfigUnitTestRelease.xcconfig b/Configurations/ConfigUnitTestRelease.xcconfig index 3a12a407..e2481b5e 100644 --- a/Configurations/ConfigUnitTestRelease.xcconfig +++ b/Configurations/ConfigUnitTestRelease.xcconfig @@ -1,2 +1 @@ #include "ConfigUnitTest.xcconfig" -SWIFT_OPTIMIZATION_LEVEL = -Ofast