Build variables

General questions regarding the usage of CodeLite
acrap
CodeLite Curious
Posts: 1
Joined: Tue Dec 27, 2016 6:43 pm
Genuine User: Yes
IDE Question: C++
Contact:

Build variables

Post by acrap »

Where can i find build variables in codelite?
I don't know why, but environment variables don't work for me.

I've tried to add variable to environment variables:
build_dir=Build

And i've tried to use this in custom target:
cd $(build_dir)

But it doesn't work for me. If i change command to echo $(build_dir) i just see $(build_dir) in output.
Also, i've tried to use brackets {} instead (). It still doesn't work.
Anybody can help me?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Build variables

Post by eranif »

Can you provide an example workspace with this setup? so I can debug it here?
Make sure you have read the HOW TO POST thread
Post Reply