premake / premake/premake-core
sysincludedirs does not generate -isystem in xcode
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 654
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 13
Description
My premake script has sysincludedirs "./libs" which goes under Header Search Paths in the Xcode project setting. The command line output then turns this into -I ./libs.
Found a similar issue with cmake: https://gitlab.kitware.com/cmake/cmake/issues/16795
I fixed this by putting ./libs under System Header Search Paths, which generates -isystem ./libs
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 at Premake's Xcode project generation path and trace how sysincludedirs becomes Header Search Paths and command-line flags. Compare the existing handling with the System Header Search Paths behavior; done means system include directories produce -isystem ./libs in generated Xcode projects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, lua
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100