Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: iKevin on March 20, 2005, 07:48:16 pm

Title: How to handle a GTK project?
Post by: iKevin on March 20, 2005, 07:48:16 pm
Hi There

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

Code

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
Title: How to handle a GTK project?
Post by: mandrav on March 21, 2005, 09:29:47 am
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.