User forums > Using Code::Blocks

Linux makefile variables in Code::Blocks

(1/1)

Rye:
Hello, I am having a bit of trouble trying to get the Linux KDE/QT include and library paths into Code::Blocks and was wondering if anybody could help me.

The Problem
I want to add the Makefile variables like "$(all_includes)", "$(all_libraries)", "$(KDE_PLUGIN)", etc to my compiler (GNU GCC) so i can develop KDE/QT applications but i don't understand how. I have noticed you can add custom variables that can be used in the compiler and linker options but that requires you knowing the variable value before hand (which i don't).

I was wondering if anybody knew how i can use those Makefile variables in my comiler/linker options, or how i can get those values from the system (i.e. through something like 'kde-config --cflags' or 'kde-config --libs')

Any assistance would be greatly appreciated, thanks :)

EDIT: Wait, i figured it out, those variables were defined in the makefile ... i just didn't see them.
Sorry for wasting time :$.

Navigation

[0] Message Index

Go to full version