Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of per file compilation flags (a.k.a. buildoptions) for XCode projects. #1903

Open
c-smile opened this issue Jun 29, 2022 · 0 comments

Comments

@c-smile
Copy link

c-smile commented Jun 29, 2022

What problem will this solve?

In one of my projects I need to add -fobjc-arc to a group of .mm files. Other files shall stay the same, so I cannot use global settings.

Essentially that is about of fixing this bug: premake/premake-xcode#27

What might be a solution?

Looking for something like this:

filter "files:src/GrMtl**.mm"
    buildoptions { "-fobjc-arc" }

What other alternatives have you already considered?

No other alternative other than applying such settings in XCode manually after project generation.

I can pay for this work. Please contact me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant