News:

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

Main Menu

Need help with environment variables

Started by Edvinas, June 05, 2007, 09:40:05 AM

Previous topic - Next topic

Edvinas

I can't figure out how in Environment Variables dialog (Settings/Environment.../Environment variables) I can reuse already defined environment variables.

For example equivalent of this:
set PRJ_ROOT=C:\Some project
set PATH=%PATH%;%PRJ_ROOT%\bin

Please help :)



MortenMacFly

Quote from: Edvinas on June 05, 2007, 09:40:05 AM
I can't figure out how in Environment Variables dialog (Settings/Environment.../Environment variables) I can reuse already defined environment variables.
Although I'm not 100% sure what you mean I believe you are asking to support for:

set MY_VAR=%MY_VAR%;OTHER_VAR

This recursion is not (yet) supported. for now you have to setup the complete envvar as required. I'm aware of this issue anyways...
With regards, Morten.
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]