Author Topic: How to handle a GTK project?  (Read 6057 times)

iKevin

  • Guest
How to handle a GTK project?
« 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
How to handle a GTK project?
« Reply #1 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.
Be patient!
This bug will be fixed soon...