Open DjLegolas opened 1 month ago
I like the added functionality... however the proposed syntax is a bit weird :)
Is there some precedent we can copy from? how does meson allow to pass down per project specific options?
however the proposed syntax is a bit weird :)
The syntax was fixed 😅 also I have rebased it.
Is there some precedent we can copy from?
I don't know if there is any place we can copy from. I tried to mimic the same functionality as with ninja_opts
and cargo_opts
.
how does meson allow to pass down per project specific options?
what do you mean?
Some users might want to be able to add additional options to the compilation command of each project. With this, we add the
--extra-opts
build option which appends the passed option to a project's build command line. The structure is:--extra-opts <project>:<option>[;<option>...]
Closes: #1356