Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Edvinas on June 05, 2007, 09:40:05 am

Title: Need help with environment variables
Post by: 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.

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

Please help :)


Title: Re: Need help with environment variables
Post by: MortenMacFly on June 05, 2007, 10:09:24 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:
Code
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.