-
Notifications
You must be signed in to change notification settings - Fork 991
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] MesonToolchain custom binaries #11961
Comments
Hi @hesham-essam Sorry, but I don't know what you mean, and how it is related to Conan. Can you please put a full example of what you are suggesting? Starting with the |
MesonToolchain generates I would like not to edit the glib_compile_resources = find_program('glib-compile-resources') I would like to be able to do def generate(self):
tc = MesonToolchain(self)
tc.binaries["glib_compile_resources"] = "path/to/glib-compile-resources"
tc.generate() |
Hi @hesham-essam I recently opened a PR #12117 to let users define their own Meson files to be appended after the Conan ones. Those user files will override/complement the Conan ones. This feature is based on https://mesonbuild.com/Machine-files.html. |
Closed b yhttps://github.com//pull/12117, will be in Conan 1.55 |
Meson can use the binaries section in the meson ini file for finding programs. See https://mesonbuild.com/Machine-files.html#binaries
Currently only a specific list of binaries are added
c, cpp, objc, objcpp, c_ld, cpp_ld, ar, strip, as, windres, pkgconfig
. It would be great if these were dictionary that allows any binary.The text was updated successfully, but these errors were encountered: