premake-core icon indicating copy to clipboard operation
premake-core copied to clipboard

`undefines` unsupported on xcode4

Open Jarod42 opened this issue 1 year ago • 2 comments

What seems to be the problem?

undefines is not handled by xcode4 generator.

What did you expect to happen?

That feature undefines is managed by xcode4 generator.

What have you tried so far? Describe any steps you've taken to try to solve or workaround the bug.

How can we reproduce this?

Testing project https://github.com/Jarod42/premake-sample-projects/tree/master/projects/project-undefines

  • [ ] Visual Studio 2022 (vs2022)
  • [ ] Visual Studio 2019 (vs2019)
  • [ ] Visual Studio 2017 (vs2017)
  • [ ] Visual Studio 2015 (vs2015)
  • [ ] Visual Studio 2012 (vs2012)
  • [ ] Visual Studio 2010 (vs2010)
  • [ ] Visual Studio 2008 (vs2008)
  • [ ] Visual Studio 2005 (vs2005)
  • [ ] GNU Makefile (gmake)
  • [ ] GNU Makefile 2 (gmake2)
  • [X] XCode (xcode)
  • [ ] Codelite
  • [ ] Other (Please list below)

What version of Premake are you using? dev version (https://github.com/premake/premake-core/commit/3f1e4f8ded5ce1397bd286eef5e2ebef02556422)

Anything else we should know?

Jarod42 avatar May 29 '23 16:05 Jarod42

Is this something supported by xcode? If so, what is the expected xcode file output?

nickclark2016 avatar Aug 14 '23 12:08 nickclark2016

I don't use xcode ;-) So, I don't know if xcode has special field for that. At worst, it could be added as it does with buildoptions.

Discovered with my premake testing repo.

Jarod42 avatar Aug 14 '23 16:08 Jarod42