Comment 3 for bug 1341768

Revision history for this message
Victor Aurélio Santos (vaurelios) wrote : Re: Support GResources

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... :(