premake / premake/premake-core
`undefines` unsupported on xcode4
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 654
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 13
Description
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)
- 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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the linked project-undefines reproduction with the xcode generator and inspect the xcode4 generator implementation. Compare its generated project settings with the expected handling of undefines, then verify that the generated Xcode project preserves those definitions when the reproduction project is run again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100