Skip to content

Commit d058cee

Browse files
committed
Build options for Metal Compiler & Linker are missing under Build Settings
Stop special casing the domain setup of Metal specifications so that their build settings show correctly in the build settings editor. rdar://140999292
1 parent de2dd65 commit d058cee

File tree

1 file changed

+1
-48
lines changed

1 file changed

+1
-48
lines changed

Sources/SWBApplePlatform/Specs/MetalCompiler.xcspec

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"$(MTLCOMPILER_OUTPUT_FILE)",
2828
);
2929
IsArchitectureNeutral = YES;
30-
SynthesizeBuildRule = NO;
30+
SynthesizeBuildRule = YES;
3131
CommandResultsPostprocessor = XCClangResultsPostprocessor;
3232
OptionConditionFlavors = (
3333
sdk,
@@ -327,52 +327,5 @@
327327
DependencyDataFormat = makefile;
328328
},
329329
);
330-
IncludeInUnionedToolDefaults = NO;
331-
},
332-
{
333-
Type = Compiler;
334-
Identifier = "com.apple.compilers.metal";
335-
BasedOn = "default:com.apple.compilers.metal";
336-
Domain = iphoneos;
337-
SynthesizeBuildRule = YES;
338-
},
339-
{
340-
Type = Compiler;
341-
Identifier = "com.apple.compilers.metal";
342-
BasedOn = "iphoneos:com.apple.compilers.metal";
343-
Domain = iphonesimulator;
344-
},
345-
{
346-
Type = Compiler;
347-
Identifier = "com.apple.compilers.metal";
348-
BasedOn = "default:com.apple.compilers.metal";
349-
Domain = macosx;
350-
SynthesizeBuildRule = YES;
351-
},
352-
{
353-
Type = Compiler;
354-
Identifier = "com.apple.compilers.metal";
355-
BasedOn = "default:com.apple.compilers.metal";
356-
Domain = appletvos;
357-
SynthesizeBuildRule = YES;
358-
},
359-
{
360-
Type = Compiler;
361-
Identifier = "com.apple.compilers.metal";
362-
BasedOn = "appletvos:com.apple.compilers.metal";
363-
Domain = appletvsimulator;
364-
},
365-
{
366-
Type = Compiler;
367-
Identifier = "com.apple.compilers.metal";
368-
BasedOn = "default:com.apple.compilers.metal";
369-
Domain = xros;
370-
SynthesizeBuildRule = YES;
371-
},
372-
{
373-
Type = Compiler;
374-
Identifier = "com.apple.compilers.metal";
375-
BasedOn = "xros:com.apple.compilers.metal";
376-
Domain = xrsimulator;
377330
},
378331
)

0 commit comments

Comments
 (0)