Re: [Gtk2forpascal-devel] central configuration file
Brought to you by:
mgaertner
From: Mattias G. <nc-...@ne...> - 2004-03-11 22:29:46
|
On Thu, 11 Mar 2004 16:05:15 +0100 Olaf Leidinger <le...@ne...> wrote: > Hello! > > I just linked the samples against a gtk version, which uses the > linux-framebuffer backend. The only things I changed where not including > gtksocket.inc and gtkplug.inc (undefined references: perhaps they aren't > supported on linux-fb?) and setting the right PKG_CONFIG_PATH (gdklib, > gtklib aren't set when compiling for linux). > > Perhaps we could add linux-fb support to the standart distribution. The > changes are minimal. I think of a file called config.inc or setup.inc in > which you can define the gdk-backend to be used. We could also define > the gtk version compatibility (use new gtk-2.4 widgets or not) in this > file . > This configuration file has to be included on top of every unit. > According to the decisions made the library names are set and some parts > are compiled, others not. Right. The configuration can't be done only by IFDEFs. How are these include files created exactly? Mattias |