From 943ee7396bad49a9df5ecd7d03c35f453ba230cd Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 11 Mar 2018 10:41:45 +0100 Subject: Add Meson bits for tests, icon and desktop file --- meson.build | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 664b7f0..a37374b 100644 --- a/meson.build +++ b/meson.build @@ -15,6 +15,7 @@ gtkdep = dependency('gtk+-3.0') cc = meson.get_compiler('c') mdep = cc.find_library('m', required : false) +# Main program executable('colloquium', ['src/colloquium.c', 'src/narrative_window.c', @@ -35,5 +36,15 @@ executable('colloquium', dependencies : [gtkdep, mdep], install : true) +# Data files, icon, desktop file etc install_data(['data/demo.sc', 'data/sky.png', 'data/canvas.png'], install_dir : datadir) + +install_data(['data/colloquium.desktop'], + install_dir : get_option('datadir')+'/applications') + +install_data(['data/colloquium.svg'], + install_dir : get_option('datadir')+'/icons/hicolor/scalable/apps') + +# Tests +subdir('tests') -- cgit v1.2.3