[Gtk2forpascal-devel] central configuration file
Brought to you by:
mgaertner
From: Olaf L. <le...@ne...> - 2004-03-11 15:15:39
|
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. Ciao, Olaf |