User forums > Using Code::Blocks
How to handle a GTK project?
(1/1)
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
--- Code: ---
INCLUDES = `pkg-config --cflags gtk+-2.0`
LIBS = `pkg-config --libs gtk+-2.0`
--- End code ---
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.
Navigation
[0] Message Index
Go to full version