Set xcode specific build settings.

Hi,

I am currently looking for alternatives to CMake for generating xcode projects (since CMakes XCode Projects are very antiquated). Since I love LUA, premake seems like a perfect match. Anyways, I need to be able to set Xcode specific build settings such as the compiler.
I want to be able to switch between LLVM-GCC4.2 and Clang (LLVM 3.0).
Is there a way to set Xcode specific build settings/flags?

Thanks!

1) Language is called "Lua", not "LUA"
2) AFAIK it's not possible currently. Someone needs to define new tools for llvm-gcc and clang (that's pretty straitforward since they behave almost identical to gcc), and add their support into Xcode action (I can't help you with it).

Hey @moka—I'm afraid Premake can't do what you want quite yet. It would be a big help if you could file a feature request for it. There is some work coming soon to improve Premake's handling of platforms and toolsets, and I might be able to hit this while I'm in there.

There is a patch which enables setting any Xcode value, which might help in the meantime?

BTW, I think that values ARCHS and SDKROOT should be available as general settings, not as a part of low-level Xcode tuning.

Thanks guys, looks promising!