News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

How to handle a GTK project?

Started by iKevin, March 20, 2005, 07:48:16 PM

Previous topic - Next topic

iKevin

Hi There

Codeblocks is going very well for me.  I do have a question regarding GTK projects.  In my makefile I have the following


INCLUDES =      `pkg-config --cflags  gtk+-2.0`
LIBS =          `pkg-config  --libs gtk+-2.0`


which defines include files and libraries.  Where do I enter similar definitions within the codeblock project properties?

Thanks
Kevin

mandrav

The INCLUDES part enter it in the compiler options and the LIBS part enter it in the linker options.
Note that this (back-ticked eval expressions), will only work when compiling using "make". It will not work if using direct mode...

HTH,
Yiannis.
Be patient!
This bug will be fixed soon...