summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-11-30 17:59:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-05-04 13:49:37 +1000
commit4f4bfae2a143f7310f1cdca62457d7e9a531259d (patch)
treeeb465f37ce6980f0d9525798d8bba4c108f448de /meson_options.txt
parent717fbc42c3d518b3973b32ff25c4a2764295dbd6 (diff)
Add meson.build file
v2: - meson 0.40 requirement - add_project_arguments() instead of add_global_arguments() - use cc.get_define('static_assert') - use config.set10 and config.set_quoted instead of manual handling - more use of join_paths - use files() for model quirks hwdb check - update options to all state 'true' as default instead of variations of 'true', 'enabled' and 'yes' v3: - drop -Wall -Wextra and -g, let meson set that with warning_level/debug build - add meson files to EXTRA_DIST Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 00000000..5cd6d70e
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,16 @@
+option('udev-dir',
+ type: 'string',
+ default: '',
+ description: 'udev base directory [default=$prefix/lib/udev]')
+option('libwacom',
+ type: 'boolean',
+ default: true,
+ description: 'Use libwacom for tablet identification (default=true)')
+option('event-gui',
+ type: 'boolean',
+ default: true,
+ description: 'Build the GUI event viewer [default=true]')
+option('enable-tests',
+ type: 'boolean',
+ default: true,
+ description: 'Build the tests [default=true]')