diff options
| author | Tomi Valkeinen <tomi.valkeinen@iki.fi> | 2020-12-18 15:01:45 +0200 | 
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@iki.fi> | 2020-12-18 15:01:45 +0200 | 
| commit | b12aab5d4bb45e77934d9838576a817bc8defe4b (patch) | |
| tree | 736e186d7e39223a7bf8e905ac509910fe21591a | |
| parent | 09147f17de0e6f3e89bc92b452c6e5e8c72c5970 (diff) | |
meson: split "utils" option into libutils and utils
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
| -rw-r--r-- | meson.build | 5 | ||||
| -rw-r--r-- | meson_options.txt | 5 | 
2 files changed, 8 insertions, 2 deletions
diff --git a/meson.build b/meson.build index f76f8b7..cdc8cab 100644 --- a/meson.build +++ b/meson.build @@ -37,8 +37,11 @@ libdrmomap_dep = dependency('libdrm_omap', required : get_option('omap'))  subdir('kms++') -if get_option('utils') +if get_option('libutils')      subdir('kms++util') +endif + +if get_option('utils')      subdir('utils')  endif diff --git a/meson_options.txt b/meson_options.txt index da6dc93..d18988b 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -4,8 +4,11 @@ option('omap', type : 'feature', value : 'auto',  option('static-libc', type : 'boolean', value : false,         description : 'Build with -static-libgcc -static-libstdc++') +option('libutils', type : 'boolean', value : true, +       description : 'Build kms++utils library') +  option('utils', type : 'boolean', value : true, -       description : 'Build kms++utils library and an assortment of utils and tests') +       description : 'Build an assortment of kms++ utils and tests')  option('pykms', type : 'feature', value : 'auto',         description : 'Build python bindings')  | 
