Page 1 of 1

Environment Variables can't support $(CodeLitePath)

Posted: Sun May 03, 2009 1:26 pm
by Loaden
Environment Variables can't support $(CodeLitePath)?
example:
Variable Name: PATH (bty: why not Viriable Value?)
Variable Value: $(PATH);D:\qpdev\gcc\bin
It's work fine.

But if modify to:
Variable Name: PATH
Variable Value: $(PATH);$(CodeLitePath)\gcc\bin
It's can't work!

I wan't make CodeLite is portable, please help me.
Thanks!

Re: Environment Variables can't support $(CodeLitePath)

Posted: Mon May 04, 2009 11:56 am
by eranif
Loaden wrote:Environment Variables can't support $(CodeLitePath)?
The codelite environment variable system is pretty simple and does not allow complex variables.

It ONLY allows a variable to include itself, so this will work:

Code: Select all

PATH=$(PATH);C:\some\path
but this wont work:

Code: Select all

PATH=$(PATH);C:\some\path;$(OtherVariable)
So this is not related to $(CodeLitePath) variable only.

Eran