From b12aab5d4bb45e77934d9838576a817bc8defe4b Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Fri, 18 Dec 2020 15:01:45 +0200 Subject: meson: split "utils" option into libutils and utils Signed-off-by: Tomi Valkeinen --- meson.build | 5 ++++- 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') -- cgit v1.2.3