use meson's native handling of resource compliation

This commit is contained in:
Chris Cromer 2019-01-04 17:00:37 -03:00
parent 6b38375be0
commit c37c341784
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A
1 changed files with 5 additions and 8 deletions

View File

@ -1,8 +1,5 @@
gen = generator( gnome = import('gnome')
find_program('glib-compile-resources'), sernatur_gresource_c = gnome.compile_resources('sernatur-resources',
arguments: [ '--sourcedir=@SOURCE_DIR@/data/ui', 'sernatur.gresource.xml',
'--generate-source', source_dir : '.',
'--target=@OUTPUT@', c_name : 'sernatur')
'@INPUT@'],
output: '@PLAINNAME@.c')
sernatur_gresource_c = gen.process(['sernatur.gresource.xml'])