Page 1 of 1

Working directory for pre and post build

Posted: Wed Nov 04, 2009 10:37 am
by DSP_Programmer
Hello Eran,

currently it seems to me, that the post and pre build commands start within the same working directory as "custom build" working directory if custom build is enabled. For my needs, I would need to start within separate working directories for custom build, pre and post commands. Is there anything I can do about this or must this be changed within the codelite sources?

Re: Working directory for pre and post build

Posted: Wed Nov 04, 2009 3:12 pm
by eranif
The working directory is set to the working directory of the project.
Other than that you can:
- wrap the post/pre build command with a command which does something like 'cd /to/some/path && execute_cmd'

OR change codelite sources (patch is always welcomed)

Eran

Re: Working directory for pre and post build

Posted: Thu Nov 05, 2009 12:40 am
by DSP_Programmer
eranif wrote: - wrap the post/pre build command with a command which does something like 'cd /to/some/path && execute_cmd'
Thanks for the hint, this does the job.