Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

includedirsafter on xcode4 #2062

Open
1 of 13 tasks
Jarod42 opened this issue Apr 17, 2023 · 0 comments
Open
1 of 13 tasks

includedirsafter on xcode4 #2062

Jarod42 opened this issue Apr 17, 2023 · 0 comments
Labels

Comments

@Jarod42
Copy link
Contributor

Jarod42 commented Apr 17, 2023

What seems to be the problem?
xcode4 doesn't fully support (new feature added by #2028) includedirsafter. (i.e it adds them as symtem/external includes)

What did you expect to happen?
pass to gcc/clang the -idirafter flags to the directories

How can we reproduce this?
With testing project project-includedirsafter.

  • 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?
master branch

Anything else we should know?
Instead of adding includedirsafter in system/external include dirs fields,
adding toolset.getincludedirs(cfg, {}, {}, cfg.frameworkdirs, cfg.includedirsafter) as build option should do the job.

@Jarod42 Jarod42 added the bug label Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant