summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 0000000..ed06753
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,23 @@
+# Copyright 2022 Collabora Ltd.
+# SPDX-License-Identifier: MIT
+
+option(
+ 'redefine_function_declaration',
+ type: 'string',
+ value: 'G_GNUC_INTERNAL ret DBUS_GMAIN_FUNCTION_NAME (name) (__VA_ARGS__)',
+ description: 'Redefinition of DBUS_GMAIN_FUNCTION(ret, name, ...)',
+)
+
+option(
+ 'redefine_function_name',
+ type: 'string',
+ value: 'dbus_gmain_ ## name',
+ description: 'Redefinition of DBUS_GMAIN_FUNCTION_NAME(name)',
+)
+
+option(
+ 'tests',
+ type: 'boolean',
+ value: true,
+ description: 'Enable unit tests',
+)