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

Feature request: wrap-path to use a meson project in any directory as wrap dependency #14258

Open
ravi688 opened this issue Feb 16, 2025 · 0 comments

Comments

@ravi688
Copy link

ravi688 commented Feb 16, 2025

Can we add support for another wrap type called [wrap-path]?
The contents would look like as follows:

[wrap-path]
path = toolchain/shader_compiler

[provide]
shader_compiler = shader_compiler_static_dep

Why?
I want to use a meson project already in my disk as dependency for another meson project, I've a local path to it. But I saw one must adhere to strict project directory structure - which I think may hamper scalability of medium to large sized projects.

Demonstration
I've a fork of meson to which I've added this feature.
Commit (diff): ravi688@5a8d130
The project that uses this feature can be found here

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

No branches or pull requests

1 participant