News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Environment variable for number of processes for parallel builds

Started by tankist02, September 19, 2011, 08:31:14 PM

Previous topic - Next topic

tankist02

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?

MortenMacFly

Quote from: tankist02 on September 19, 2011, 08:31:14 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: [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]

tankist02