GTK/C and GtkBuilder to make a single executable
问题 In my project I call gtk_builder_add_from_file function to load an xml file with the ui objects designed with Glade previously. So, I have my binary program and (in the same folder) the xml file. What is the best way to pack all into a single executable? should I use a self-extracting script? or there is something else to compile all together? Thanks to all 回答1: You can use the GResource API available in GIO. GResources work by defining the assets you wish to ship with your application inside