Skip to content

refactor: add install headers dir path - #5

Open
nooneknowspeter wants to merge 1 commit into
allyourcodebase:masterfrom
nooneknowspeter:master
Open

refactor: add install headers dir path#5
nooneknowspeter wants to merge 1 commit into
allyourcodebase:masterfrom
nooneknowspeter:master

Conversation

@nooneknowspeter

Copy link
Copy Markdown
Contributor
  • install headers in package dir, use with lsps; clangd for c++ dev

@agagniere

Copy link
Copy Markdown
Member

Hi, the change is presently a no-op.
what are you trying to achieve ?

If you want to access to catch2's headers from a custom step in your build.zig, we can add a addNamedLazyPath

@nooneknowspeter

Copy link
Copy Markdown
Contributor Author

Hi, the change is presently a no-op. what are you trying to achieve ?

If you want to access to catch2's headers from a custom step in your build.zig, we can add a addNamedLazyPath

it gets the include dir from the upstream dependency dir; inside zig-pkgs/catch2-upstream-dir

it installs it in a include dir in the zig package dependency dir which makes it easier to reference

example use, add package include dir in clangd compile-flags.txt

@agagniere

Copy link
Copy Markdown
Member

it gets the include dir from the upstream dependency dir; inside zig-pkgs/catch2-upstream-dir
it installs it in a include dir in the zig package dependency dir which makes it easier to reference

How is that different from the current behavior ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants