summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build5
-rw-r--r--meson_options.txt5
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')