Getting value of environment variable #13811
Replies: 3 comments 13 replies
-
|
Please don't. Meson isn't designed to be configured based on environment variables, but on command line (or machine file) specified options, or based on information about the build/host/target machines. |
Beta Was this translation helpful? Give feedback.
-
|
How about setting an environment variable? I need to set Yes, I can set |
Beta Was this translation helpful? Give feedback.
-
|
getting the value of an environment variable is easy via Invoke meson as follows: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've done some searching on this but I can find a definitive answer and/or example.
How can I get the value of an environment variable inside a
meson.buildfile. I want perform some custom actions based on an environment variable.Beta Was this translation helpful? Give feedback.
All reactions