glib-compile-resourcesglib-compile-resources — GLib resource compiler |
glib-compile-resources
[OPTION...] {FILE}
glib-compile-resources reads the resource description from
FILE
and the files that it references
and creates a binary resource bundle that is suitable for use with the
GResource API.
The resulting bundle is then written out as-is, or as C source for linking into
an application.
The XML resource files normally have the filename extension .gresource.xml
.
For a detailed description of the XML file format, see the
GResource documentation.
|
Print help and exit |
||||||
|
Print program version and exit |
||||||
|
Store the compiled resources in the file |
||||||
|
The files referenced in |
||||||
|
Write the output file in the format selected for by its filename extension:
|
||||||
|
Instead of a writing the resource bundle in binary form create a C source file that contains the resource bundle. This can then be compiled into an application for easy access. |
||||||
|
Generate a header file for use with C code generated by
|
||||||
|
Prints the list of files that the resource bundle references to standard output.
This can be used to track dependencies in the build system. For example, the
following make rule would mark test.gresource: test.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies test.gresource.xml) Note that this may or may not be portable to non-GNU make.
Also see |
||||||
|
Specify the prefix used for the C identifiers in the code generated by
|
||||||
|
By default code generated by |
||||||
|
By default code generated by |
||||||
|
Write dependencies in the same style as gcc -M -MF to the given file.
If |
||||||
|
When creating a dependency file with |
|
The full path to the xmllint executable. This is used to preprocess resources
with the |
|
The full path to the gdk-pixbuf-pixdata executable. This is used to preprocess
resources with the |