Rober,
In the reallity Bake not needs to parse the xml, the tool glib-compile-resources does it for you, for example:
% glib-compile-resources --generate-dependencies --sourcedir=../src ../src/gdownloader.gresources.xml ../src/menus.ui ../src/new-download.ui ../src/window.ui ../src/preferences.ui
when I'm using autotmake I use it for generate the dependencie list.
and really like you suggestion:
programs.test { sources = test.vala gresources = test.gresource.xml }
this looks very good, when working with automake we have to write various lines... :(
Rober,
In the reallity Bake not needs to parse the xml, the tool glib-compile- resources does it for you, for example:
% glib-compile- resources --generate- dependencies --sourcedir=../src ../src/ gdownloader. gresources. xml new-download. ui preferences. ui
../src/menus.ui
../src/
../src/window.ui
../src/
when I'm using autotmake I use it for generate the dependencie list.
and really like you suggestion:
programs.test {
sources = test.vala
gresources = test.gresource.xml
}
this looks very good, when working with automake we have to write various lines... :(