News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Is it possible to to set up include path and library path for a workspace?

Started by jiapei100, January 02, 2010, 04:46:16 AM

Previous topic - Next topic

jiapei100


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
Welcome to Vision Open
[url="http://www.visionopen.com"]http://www.visionopen.com[/url]

oBFusCATed

No you can't, but you can have a project with multiple executable targets (see the codeblocks.cbp/codeblocks-unix.cbp for examples).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]