Author Topic: Environment variable for number of processes for parallel builds  (Read 3094 times)

Offline tankist02

  • Multiple posting newcomer
  • *
  • Posts: 10
Environment variable for number of processes for parallel builds
« on: September 19, 2011, 08:31:14 pm »
Is there a way to access number of processes for parallel builds from inside CodeBlocks as an environment variable? I checked this page: http://wiki.codeblocks.org/index.php?title=Variable_expansion, but there is no such thing listed. Do I have to create my custom env var for that?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Re: Environment variable for number of processes for parallel builds
« Reply #1 on: September 19, 2011, 09:10:28 pm »
Do I have to create my custom env var for that?
This would be the easiest and most convenient way, yes. Note that such an envvar can be bound per project.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline tankist02

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Environment variable for number of processes for parallel builds
« Reply #2 on: September 19, 2011, 09:29:18 pm »
Thanks a lot - that worked just fine!