Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Sep 13, 2020

What does this PR do?

Adds support for .metal files as Metal shader source code in Xcode.

How does this PR change Premake's behavior?

Xcode projects containing .metal files will compile those files into a Metal library.

Anything else we should know?

Xcode generally puts these in the Resources category so that's what I've done, but I don't know if that's strictly necessary.

Did you check all the boxes?

  • Focus on a single fix or feature; remove any unrelated formatting or code changes
  • Add unit tests showing fix or feature works; all tests pass
  • Mention any related issues (put closes #XXXX in comment to auto-close issue when PR is merged)
  • Follow our coding conventions
  • Minimize the number of commits

You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!

Xcode generally puts these in the Resources category so that's what I've
done, but I don't know if that's strictly necessary.
@samsinsane samsinsane merged commit 15a0751 into premake:master Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant