Page 1 of 1

Environment Variables

Posted: Tue Oct 29, 2013 12:45 am
by astern
I would like to setup a define from outside CodeLite that I can use as a macro within the Environment section. For instance I would like to define something like PROJECT_HOME=/home/user/project within my .bashrc or as a command line parameter to CodeLite. Within the CodeLite Environment Window I would like to use HOME_DIR=$(PROJECT_HOME)/subproject/proj. It doesn't seem to be working in a code pull of 5.3 and my custom makefile isn't ending up with HOME_DIR=/home/user/project/subproject/proj. Is there a better way to do this or a way that works?

Re: Environment Variables

Posted: Tue Oct 29, 2013 1:07 am
by eranif
If you set it in your .bashrc - make sure you start codelite from the terminal where you source'd it
something like:

Code: Select all

source ~/.bashrc
codelite&
I don't see a reason why it should not work
Eran