Changing a project's meson options depending on buildtype #14217
Unanswered
carnivorecookies
asked this question in
Q&A
Replies: 1 comment
-
Sorry I should've clarified as to why this doesn't work: $ meson setup build
The Meson build system
Version: 1.7.0
Source dir: /home/capy/Documents/beetroot
Build dir: /home/capy/Documents/beetroot/build
Build type: native build
ERROR: Invalid source tree: first statement must be a call to project() |
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
-
Hello,
So I have the following meson.build file:
as you can see, i want a way to add meson options depending on if the buildtype is debug. however, this requires me to have an array of meson options. is there a different way that I could do the dynamic options part?
Beta Was this translation helpful? Give feedback.
All reactions