Skip to content

Conan integration, how to set 'needs_exe_wrapper' #10127

Answered by eli-schwartz
avetiso asked this question in Q&A
Discussion options

You must be logged in to vote

This would violate Meson's design rationale, that projects should not encode information about the build environment into meson.build. It's the same reason you cannot define the C/C++ compiler in meson.build.

What you can do, if conan allows it, is pass a second cross file, this one containing your user specified properties. Meson allows layering cross files such that some settings come from one file and other settings come from another file.

And of course, conan can fix the bug, and Meson's design rationale to force it to be fixed in the cross file generation by conan, means that projects won't end up with conan specific workarounds for conan bugs inside their project definitions. :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@avetiso
Comment options

Answer selected by avetiso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants