Environment Variables can't support $(CodeLitePath)

CodeLite installation/troubleshooting forum
Loaden
CodeLite Enthusiast
Posts: 35
Joined: Sat May 02, 2009 1:56 pm
Contact:

Environment Variables can't support $(CodeLitePath)

Post 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!
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
Make sure you have read the HOW TO POST thread
Post Reply