Author Topic: Need help with environment variables  (Read 3138 times)

Edvinas

  • Guest
Need help with environment variables
« 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 :)



Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Need help with environment variables
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ