conan icon indicating copy to clipboard operation
conan copied to clipboard

[question] Can I pass --vs-args or --ninja-args arguments to the meson tool when executing build command

Open NiceBlueChai opened this issue 1 year ago • 1 comments

What is your question?

I want to execute meson compile -C. -j[N_JOBS] [TARGET] --vs-args=xx,xx when I run meson.build()

Have you read the CONTRIBUTING guide?

  • [X] I've read the CONTRIBUTING guide

NiceBlueChai avatar May 18 '24 11:05 NiceBlueChai

Hi @NiceBlueChai

Thanks for your question.

What specific arguments you want to pass? The recommendation would be trying to not have to pass anything in the command line of meson, but define them in the Meson toolchain files (via MesonToolchain)

memsharded avatar May 19 '24 21:05 memsharded

Any feedback here @NiceBlueChai?

Things like -n[JOBS] are already automatically added by Conan, and it is possible that the other are better managed by toolchains.

memsharded avatar Jul 26 '24 16:07 memsharded