From 8f4ab3eb56ed0482ae581beeaf8849c2e6352dbd Mon Sep 17 00:00:00 2001 From: "C.W. Betts" Date: Wed, 25 Feb 2015 21:51:09 -0700 Subject: [PATCH] Move the module build settings out of Xcode. Because all of the other build settings are in the xcconfig files. --- Configurations/ConfigCommon.xcconfig | 1 + Configurations/ConfigFramework.xcconfig | 1 + Configurations/ConfigRelaunch.xcconfig | 1 + Sparkle.xcodeproj/project.pbxproj | 6 ------ 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index 2e26822b..b50ca153 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -35,6 +35,7 @@ CLANG_ENABLE_OBJC_ARC = YES CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES +CLANG_ENABLE_MODULES = YES CLANG_WARN__DUPLICATE_METHOD_MATCH = YES CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES CLANG_WARN_DOCUMENTATION_COMMENTS = YES diff --git a/Configurations/ConfigFramework.xcconfig b/Configurations/ConfigFramework.xcconfig index d42abcc2..36495106 100644 --- a/Configurations/ConfigFramework.xcconfig +++ b/Configurations/ConfigFramework.xcconfig @@ -10,3 +10,4 @@ INFOPLIST_FILE = Sparkle/Sparkle-Info.plist GCC_PREPROCESSOR_DEFINITIONS = $(inherited) BUILDING_SPARKLE=1 OTHER_LDFLAGS = -Wl,-U,_NSURLQuarantinePropertiesKey SKIP_INSTALL = YES +DEFINES_MODULE = YES diff --git a/Configurations/ConfigRelaunch.xcconfig b/Configurations/ConfigRelaunch.xcconfig index 1537a724..292437c9 100644 --- a/Configurations/ConfigRelaunch.xcconfig +++ b/Configurations/ConfigRelaunch.xcconfig @@ -4,4 +4,5 @@ INFOPLIST_FILE = Sparkle/Autoupdate/Autoupdate-Info.plist PRODUCT_NAME = $(SPARKLE_RELAUNCH_TOOL_NAME) SKIP_INSTALL = YES ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon +CLANG_ENABLE_MODULES = NO OTHER_LDFLAGS = -Wl,-U,_NSURLQuarantinePropertiesKey diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 2ea0715e..8ee20087 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1732,7 +1732,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */; buildSettings = { - DEFINES_MODULE = YES; }; name = Debug; }; @@ -1740,7 +1739,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; buildSettings = { - DEFINES_MODULE = YES; }; name = Release; }; @@ -1748,7 +1746,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941CF0D94A70100DD942E /* ConfigCommonDebug.xcconfig */; buildSettings = { - CLANG_ENABLE_MODULES = YES; }; name = Debug; }; @@ -1756,7 +1753,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941CC0D94A70100DD942E /* ConfigCommonRelease.xcconfig */; buildSettings = { - CLANG_ENABLE_MODULES = YES; }; name = Release; }; @@ -1764,7 +1760,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */; buildSettings = { - CLANG_ENABLE_MODULES = NO; }; name = Debug; }; @@ -1772,7 +1767,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; buildSettings = { - CLANG_ENABLE_MODULES = NO; }; name = Release; };