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] do we need MesonLayout? #9713
Comments
Yes, if Meson while building uses some kind of predefined folder structure, it would totally make sense to implement a
This is not completely clear, if this is to locate things inside the dependencies folders, then layout() is not the place, as |
this is not about dependencies, this is about recipe being built itself, as I can say. e.g. if you create a recipe for previous (old) build helper hard-coded install directory to the when we added a new build helper, I was told it has to be managed with layouts: so there are at least two ways to handle that:
I am not sure what is the most idiomatic way for conan 2.0, maybe neither of above. |
for the meson itself, it's explained a bit in their docs (https://mesonbuild.com/Builtin-options.html#directories)
and that seems to be the code they are doing for the default libdir and some distros (at least debian based): I doubt it makes any sense to implement the similar logic in conan client. |
for the dependencies: I suppose as long as libraries are within |
afteer looking at layouts more closer, I don't know if they are going to help with the current situation |
Closed by #11618 |
from conan-io/conan-center-index#6678 (comment)
we only have some predefined layouts, e.g.
cmake_layout
, but there is nomeson_layout
right now.I am not completely familiar with this feature at the moment, so I will need some guidance, at very least:
meson_layout
?The text was updated successfully, but these errors were encountered: