Author Topic: Is it possible to to set up include path and library path for a workspace?  (Read 7159 times)

Offline jiapei100

  • Multiple posting newcomer
  • *
  • Posts: 20
    • Vision Open

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
http://www.visionopen.com

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
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!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ