mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Move build settings to xcconfig
Also enable -Wobjc-missing-property-synthesis because I can't figure out how to turn it off for just the test application
This commit is contained in:
1 parent
b165a419d5
commit
dcd50d54e1
4 files changed
+5
-25
No files matched your search
@@ -3,6 +3,5 @@
|
||||
INFOPLIST_FILE = TestApplication/TestApplication-Info.plist
|
||||
WRAPPER_EXTENSION = app
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
|
||||
CLANG_ENABLE_OBJC_ARC = NO
|
||||
LD_RUNPATH_SEARCH_PATHS = @executable_path/../Frameworks
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.sparkle-project.SparkleTestApp
|
||||
@@ -1870,18 +1870,6 @@
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */;
|
||||
buildSettings = {
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
WARNING_CFLAGS = (
|
||||
"-Wall",
|
||||
"-Weverything",
|
||||
"-Wno-unused-macros",
|
||||
"-Wno-gnu-statement-expression",
|
||||
"-Wno-receiver-is-weak",
|
||||
"-Wno-arc-repeated-use-of-weak",
|
||||
"-Wno-objc-missing-property-synthesis",
|
||||
"-Wno-auto-import",
|
||||
"$(WARNING_CFLAGS_EXTRA)",
|
||||
);
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
@@ -1889,18 +1877,6 @@
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */;
|
||||
buildSettings = {
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
WARNING_CFLAGS = (
|
||||
"-Wall",
|
||||
"-Weverything",
|
||||
"-Wno-unused-macros",
|
||||
"-Wno-gnu-statement-expression",
|
||||
"-Wno-receiver-is-weak",
|
||||
"-Wno-arc-repeated-use-of-weak",
|
||||
"-Wno-objc-missing-property-synthesis",
|
||||
"-Wno-auto-import",
|
||||
"$(WARNING_CFLAGS_EXTRA)",
|
||||
);
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
|
||||
@implementation SUTestApplicationDelegate
|
||||
|
||||
@synthesize updateSettingsWindowController = _updateSettingsWindowController;
|
||||
@synthesize serverTask = _serverTask;
|
||||
|
||||
#define UPDATED_VERSION @"2.0"
|
||||
|
||||
- (void)applicationDidFinishLaunching:(NSNotification * __unused)notification
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
@implementation SUUpdateSettingsWindowController
|
||||
|
||||
@synthesize updater = _updater;
|
||||
|
||||
- (NSString *)windowNibName
|
||||
{
|
||||
return NSStringFromClass([self class]);
|
||||
|
||||
Reference in new issue
Block a user