User forums > Using Code::Blocks
Need help with environment variables
(1/1)
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.
--- End quote ---
Although I'm not 100% sure what you mean I believe you are asking to support for:
--- Code: ---set MY_VAR=%MY_VAR%;OTHER_VAR
--- End code ---
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.
Navigation
[0] Message Index
Go to full version