Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: tankist02 on September 19, 2011, 08:31:14 pm

Title: Environment variable for number of processes for parallel builds
Post by: tankist02 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?
Title: Re: Environment variable for number of processes for parallel builds
Post by: MortenMacFly 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.
Title: Re: Environment variable for number of processes for parallel builds
Post by: tankist02 on September 19, 2011, 09:29:18 pm
Thanks a lot - that worked just fine!