I have Codelite 9.0 compiled with gcc-5.2.0 on latest, mostly stable 64.bit Gentoo system.
For the life of me, I can't make Codelite substitute automatic variables in "Pre build" step as listed under "Help" option. For example, line:
echo "ProjectPath is $(ProjectPath)"
echo "WorkspacePath is $(WorkspacePath)"
...
returns when building:
./PCB.sh: line 5: ProjectPath: command not found
ProjectPath is
./PCB.sh: line 6: WorkspacePath: command not found
WorkspacePath is
IOW, both variables expand to empty string.
Every other of "Available Macros" that I took the time to try, behave the same - I get empty string.
What gives ?
variable substitution in project pre/post build step....
-
- CodeLite Curious
- Posts: 7
- Joined: Sun Oct 05, 2014 2:09 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: variable substitution in project pre/post build step....
This sounds like a bug to me, can you please open a bug report?
This does not sounds to hard to fix...
Thanks
Eran
This does not sounds to hard to fix...
Thanks
Eran
Make sure you have read the HOW TO POST thread