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?
Working directory for pre and post build
-
- CodeLite Veteran
- Posts: 63
- Joined: Mon Apr 06, 2009 10:43 am
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Working directory for pre and post build
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
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
Make sure you have read the HOW TO POST thread
-
- CodeLite Veteran
- Posts: 63
- Joined: Mon Apr 06, 2009 10:43 am
- Contact:
Re: Working directory for pre and post build
Thanks for the hint, this does the job.eranif wrote: - wrap the post/pre build command with a command which does something like 'cd /to/some/path && execute_cmd'