mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-08 14:25:05 +00:00
Fix Swift conditionality.
This commit is contained in:
@@ -6702,6 +6702,7 @@
|
|||||||
"$(OTHER_CFLAGS)",
|
"$(OTHER_CFLAGS)",
|
||||||
"-Wreorder",
|
"-Wreorder",
|
||||||
);
|
);
|
||||||
|
OTHER_SWIFT_FLAGS = "-D DEBUG";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "TH.Clock-Signal";
|
PRODUCT_BUNDLE_IDENTIFIER = "TH.Clock-Signal";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = "Clock Signal/ClockSignal-Bridging-Header.h";
|
SWIFT_OBJC_BRIDGING_HEADER = "Clock Signal/ClockSignal-Bridging-Header.h";
|
||||||
|
@@ -86,8 +86,8 @@ class MachinePicker: NSObject, NSTableViewDataSource, NSTableViewDelegate {
|
|||||||
|
|
||||||
// TEMPORARY: remove the Apple IIgs and PC compatible options.
|
// TEMPORARY: remove the Apple IIgs and PC compatible options.
|
||||||
// Neither is yet a fully-working machine.
|
// Neither is yet a fully-working machine.
|
||||||
#if RELEASE
|
#if !DEBUG
|
||||||
for hidden in ["appleiigs" /*, "pc" */] {
|
for hidden in ["appleiigs", "pc"] {
|
||||||
let tabIndex = machineSelector.indexOfTabViewItem(withIdentifier: hidden)
|
let tabIndex = machineSelector.indexOfTabViewItem(withIdentifier: hidden)
|
||||||
machineSelector.removeTabViewItem(machineSelector.tabViewItem(at: tabIndex))
|
machineSelector.removeTabViewItem(machineSelector.tabViewItem(at: tabIndex))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user