Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
Developer forums (C::B DEVELOPMENT STRICTLY!)
»
Development
»
Is it possible to to set up include path and library path for a workspace?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Is it possible to to set up include path and library path for a workspace? (Read 7167 times)
jiapei100
Multiple posting newcomer
Posts: 20
Is it possible to to set up include path and library path for a workspace?
«
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
Logged
Welcome to Vision Open
http://www.visionopen.com
oBFusCATed
Developer
Lives here!
Posts: 13406
Re: Is it possible to to set up include path and library path for a workspace?
«
Reply #1 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).
Logged
(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
Administrator
Lives here!
Posts: 9723
Re: Is it possible to to set up include path and library path for a workspace?
«
Reply #2 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.
Logged
Compiler logging
: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual
:
https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ
:
https://wiki.codeblocks.org/index.php?title=FAQ
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
Developer forums (C::B DEVELOPMENT STRICTLY!)
»
Development
»
Is it possible to to set up include path and library path for a workspace?