Disabling optimisations for limited subprojects #12902
Unanswered
mitchgrout
asked this question in
Q&A
Replies: 1 comment
-
Would be nice to have this other way around as well that subprojects have optimizations enabled and main project is without optimizations. Currently adding |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As I understand,
meson setup -Doptimization=3
is a global option, so any subprojects I may have will also be compiled at-O3
. I would like to disable this for certain subprojects; what would be the cleanest way of doing this?One option is to add a
<lang>_args=['-O3']
to my build targets, but this would only compile my project at-O3
, and leave all my subprojects at the default optimization level.Beta Was this translation helpful? Give feedback.
All reactions