summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFélix Piédallu <felix@piedallu.me>2020-02-20 16:12:53 +0100
committerBastien Nocera <hadess@hadess.net>2020-02-20 18:05:39 +0100
commit41267fdbe47c93d377f314780be7b9fb5715686a (patch)
treead7097f5a6384363ac8be8232fa0cdff881c8157 /src
parentbf8b2e770e2523827a1f13dcb8146e7b407cdb67 (diff)
downloadshared-mime-info-41267fdbe47c93d377f314780be7b9fb5715686a.tar.gz
build: Add meson build system
Diffstat (limited to 'src')
-rw-r--r--src/meson.build34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build
new file mode 100644
index 00000000..5da9ddfc
--- /dev/null
+++ b/src/meson.build
@@ -0,0 +1,34 @@
+
+configure_file(
+ output: 'config.h',
+ configuration: config,
+)
+
+update_mime_database = executable('update-mime-database',
+ 'update-mime-database.c',
+ dependencies: [
+ glib2,
+ libxml,
+ ],
+ install: true,
+)
+
+test_subclassing = executable('test-subclassing',
+ 'test-subclassing.c',
+ dependencies: [
+ glib2,
+ libxml,
+ ],
+ install: false,
+)
+
+if gio.found()
+ test_tree_magic = executable('tree-magic',
+ 'test-tree-magic.c',
+ dependencies:[
+ glib2,
+ gio,
+ ],
+ install: false,
+ )
+endif