glib-compile-resources
Compiles resource files (e.g. images) into a binary resource bundle. These may be linked into GTK applications using the GResource API. More information: https://manned.org/glib-compile-resources.
-
Compile resources referenced in
file.gresource.xmlto a .gresource binary:
glib-compile-resources {{file.gresource.xml}} -
Compile resources referenced in
file.gresource.xmlto a C source file:
glib-compile-resources --generate-source {{file.gresource.xml}} -
Compile resources in
file.gresource.xmlto a chosen target file, with.c,.hor.gresourceextension:
glib-compile-resources --generate --target={{file.ext}} {{file.gresource.xml}} -
Print a list of resource files referenced in
file.gresource.xml:
glib-compile-resources --generate-dependencies {{file.gresource.xml}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.