mesonOption
lib.mesonOption
Docs pulled from | This Revision | 44 minutes ago
Create a "-D<feature>=<value>" string that can be passed to typical Meson
invocations.
Inputs
feature- The feature to be set
value- The desired value
Type
mesonOption :: string -> string -> string
Examples
lib.strings.mesonOption usage example
mesonOption "engine" "opengl"
=> "-Dengine=opengl"
Noogle detected
Implementation
The following is the current implementation of this function.
mesonOption =
feature: value:
assert (lib.isString feature);
assert (lib.isString value);
"-D${feature}=${value}";