Post-build commands

CodeLite installation/troubleshooting forum
spaces
CodeLite Veteran
Posts: 67
Joined: Mon Aug 22, 2011 10:15 pm
Genuine User: Yes
IDE Question: c++
Contact:

Post-build commands

Post by spaces »

I have another question. :)

I have a pretty long list of post-build commands that post process the resulting binary. A not too long but not too short process. And it involves file copying too which makes it more painful.

Now I would like to ask if there is any switch to make those runs conditinal. My porject has many dependencies (dynamic linked libraries) that won't change the resulting binary but always trigger the post-build command. AFAIK this is desired working in Visual Studio but if you are using makefiles it is not.

So my current hacky solution is that I made a script (a batch file) which checks timestamps and runs commands accordingly. It's not too nice hence my question. ^^
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Post-build commands

Post by eranif »

spaces wrote:So my current hacky solution is that I made a script (a batch file) which checks timestamps and runs commands accordingly.
This is your best option at the moment, there is no such option in codelite

Eran
Make sure you have read the HOW TO POST thread
spaces
CodeLite Veteran
Posts: 67
Joined: Mon Aug 22, 2011 10:15 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Post-build commands

Post by spaces »

Oki, thanks. :(
Post Reply