Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: BlueWhale on July 02, 2015, 11:33:12 pm

Title: Global Project Settings
Post by: BlueWhale on July 02, 2015, 11:33:12 pm
Hello All,

Debian 7.8 +  Codeblocks 10.5

I have just started using codeblocks.  I am building several libraries which use features in Glib.  The gcc command line needs to invoke `pkg-config --cflags glib-2.0` as discussed in other posts.  Is there a way of doing this globally, so I don't have to set  these options for every new project?

I have tried the projects template feature, but the content of Project  build options->Other options has not been carried over.

Many thanks,

Geoff

 
Title: Re: Global Project Settings
Post by: Jenna on July 02, 2015, 11:42:18 pm
If you don't want it in the global compiler settings (might be dangerous there), you need a more recent version of C::B.
I don't remember if was broken in 10.05, but it seems to work in actual trunk (nightly).