Author Topic: Global Project Settings  (Read 2248 times)

Offline BlueWhale

  • Single posting newcomer
  • *
  • Posts: 2
Global Project Settings
« 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

 

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Global Project Settings
« Reply #1 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).