How can I set User Defined Build Settings for XCode in premake?

705 Views Asked by At

I need premake to set the EXCLUDED_SOURCE_FILE_NAMES and INCLUDED_SOURCE_FILE_NAMES variables for my XCode project. Anybody knows how to do this?

1

There are 1 best solutions below

1
On

There isn't a way to do that directly, but if you provide more details on what you are trying to achieve there might be a workaround. You are already aware of the excludes() API?

In response to additional information in comment: Ah, a unity build then. That isn't directly supported yet, no, though it is coming up quick on the roadmap now. The way most people handle it currently is as a separate project. Not as convenient or elegant, but does allow Debug, Release etc. configurations of the unity build, which can useful too.