summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/meson.build33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/tools/meson.build b/src/tools/meson.build
new file mode 100644
index 00000000..c6f1b4a9
--- /dev/null
+++ b/src/tools/meson.build
@@ -0,0 +1,33 @@
+cargs = ['-DMARCO_ICON_DIR="marco"']
+
+install_data('marco-window-demo.png',
+ install_dir: join_paths(pkgdatadir, 'icons')
+)
+
+executable('marco-message',
+ 'marco-message.c',
+ include_directories : [
+ include_directories('.'),
+ include_directories('..'),
+ ],
+ dependencies: marco_message_deps,
+ link_with : [
+ libmarco
+ ],
+ c_args : cargs,
+ install: true,
+)
+
+executable('marco-window-demo',
+ 'marco-window-demo.c',
+ include_directories : [
+ include_directories('.'),
+ include_directories('..'),
+ ],
+ dependencies: marco_window_demo_deps,
+ link_with : [
+ libmarco
+ ],
+ c_args : cargs,
+ install: true,
+)