Milliways
January 28th, 2010, 05:40 AM
I have written a program using gtk+ and glade. It is now time to install it.
How do I pass the path of the installed glade file /usr/local/share/... to gtk_builder_add_from_file()
Every example I have seen uses a local string like "test.glade", and even the Anjuta template uses hard coded paths.
It seems pointless using automake if this is necessary.
Is there a standard way of doing this?
Does Anjuta have a preprocessor variable?
Alternatively I could export a variable from the Makefile
How do I pass the path of the installed glade file /usr/local/share/... to gtk_builder_add_from_file()
Every example I have seen uses a local string like "test.glade", and even the Anjuta template uses hard coded paths.
It seems pointless using automake if this is necessary.
Is there a standard way of doing this?
Does Anjuta have a preprocessor variable?
Alternatively I could export a variable from the Makefile