Page 1 of 1

Wish : run should re-make if source has changed

Posted: Wed Sep 29, 2010 9:52 pm
by HJarausch
Hi,

I missing a quite common feature.
I'd like to press the <RUN> icon only. Codelite should check (using make) if any source files are newer than the current executable.
If that's the case it should re-make the project automatically (or ask if it should do so).

Or is this feature available already?

Thanks,
Helmut.

Re: Wish : run should re-make if source has changed

Posted: Thu Sep 30, 2010 12:24 am
by eranif
this feature already exists, but due to the nature of the build system (which wont be changed anytime soon) it will perform link even when not needed.
Ctrl-F9 is the default keyboard binding for that.

(from the menu: Build -> Build and Run Project)

Eran

Re: Wish : run should re-make if source has changed

Posted: Thu Sep 30, 2010 1:59 pm
by HJarausch
Yes, thanks.

I just thought about implementing the run button/icon such it always checks (by check the file dates only)
if the executable is up-to-date and re-builds it before running it if necessary. (That's the way it's implemented in SciTE)

Helmut.