Question: How to have mutually exclusive targets? #14116
-
Basically, I have two build targets that don't depend on each other, but because they use external build frameworks (wrapped in a meson I could achieve this by having one depend on the other, but I don't want to have them depend on each other as they take a non-trivial amount of time to build and it is a common scenario to only build one of them. So I wouldn't want to require that one has to wait until the other is built (again, because they don't depend on each other). Is there a way to accomplish this in meson? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In general no. You can mark one or both of them as |
Beta Was this translation helpful? Give feedback.
In general no.
You can mark one or both of them as
console: true
which fully disables parallelism, and then that target(s) cannot be built at the same time as anything else. This isn't what you want but can pass for it, kinda.