Re: GTK+3 win32/64 build environment



On 10/04/13 19:07, Andy Spencer wrote:
I have this problem running my software on windows. I have many places
in my Makefile.am's where I use something like:

  myfile_CPPFLAGS = -DPKGDATADIR="\"$(pkgdatadir)\""

Which results in a non-relocatable build. It seems like most of my
issues with relative build could fixed by patching ./configure to
support './configure --prefix=..'.

The glib resource framework could be a solution. If the files are all
the kind that get loaded each and every time when the app starts (.ui
files, for instance), it makes sense to embed them within the binary.

Easier to relocate the app and the startup gets faster.

https://developer.gnome.org/gio/stable/gio-GResource.html

-- 
Kalev


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]