diff options
author | Thomas White <taw@physics.org> | 2018-03-11 10:41:45 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-03-11 10:41:45 +0100 |
commit | 943ee7396bad49a9df5ecd7d03c35f453ba230cd (patch) | |
tree | 2a7955218a7790c682ad2119f0bddf94256215dc /meson.build | |
parent | 76c22d23939b17980882a76458879cf1290bb55c (diff) |
Add Meson bits for tests, icon and desktop file
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 11 |
1 files changed, 11 insertions, 0 deletions
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') |