Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: jiapei100 on January 02, 2010, 04:46:16 am

Title: Is it possible to to set up include path and library path for a workspace?
Post by: jiapei100 on January 02, 2010, 04:46:16 am

Hi, all:

In codeblocks,
Is it possible to to set up include path and library path for a workspace, rather than just for a specific project?

If yes, how?

Thanks.

JIA
Title: Re: Is it possible to to set up include path and library path for a workspace?
Post by: oBFusCATed on January 02, 2010, 07:19:38 am
No you can't, but you can have a project with multiple executable targets (see the codeblocks.cbp/codeblocks-unix.cbp for examples).
Title: Re: Is it possible to to set up include path and library path for a workspace?
Post by: MortenMacFly on January 03, 2010, 03:13:41 pm
That's what global variables are for. BTW: They also solve cross-platform issues. Read youself into the usage of global variables and use scripting (easy way, like if plaform=MSW or alike) when using them. C::B docu is accessible from the webpage.