Diff of /trunk/include/meson.sminc
Parent Directory | Revision Log | Patch
revision 30900 by niro, Tue May 15 07:24:41 2018 UTC | revision 30917 by niro, Wed May 16 08:06:56 2018 UTC | |
---|---|---|
# | Line 36 meson_with() | Line 36 meson_with() |
36 | meson_without() | meson_without() |
37 | { | { |
38 | local feature="$1" | local feature="$1" |
39 | echo "-Dwith-{feature}=false" | echo "-Dwith-${feature}=false" |
40 | } | } |
41 | ||
42 | meson_bool_true() | meson_bool_true() |
43 | { | { |
44 | local feature="$1" | local feature="$1" |
45 | meson_opt "feature" "true" | meson_opt "${feature}" "true" |
46 | } | } |
47 | ||
48 | meson_bool_false() | meson_bool_false() |
49 | { | { |
50 | local feature="$1" | local feature="$1" |
51 | meson_opt "feature" "false" | meson_opt "${feature}" "false" |
52 | } | } |
53 | ||
54 | # generic meson opts | # generic meson opts |
|