Bogusław Brandys wrote:
Michael Van Canneyt wrote:
On Wed, 7 Dec 2005, Micha Nelissen wrote:
Michael Van Canneyt wrote:
"no project related files" is really a lot
Why ? Lazarus keeps a list of project files in the lpi file.
A modified flag is probably already present.
I don't know, Mattias may answer that ;-).
So it's just a single loop with a check for a boolean ?
Well those files can use units which can include files that have been
modified etc.
As long as they're not modified in the IDE, Lazarus should not care.
Of course we can check whether any open editor files have been
changed, but that's not what we want, is it?
No.
But the codetools can detect normally instantly whether a 'needed'
unit is
open in the editor.
I don't want to set up huge mechanisms in Lazarus, not at all.
But if it can be done without too much effort, why not... ?
Michael.
Yeah.The fastest possible solution : add message box asking if project
should be rebuild before run.
I hate Compilation tab in Project->Compiler options - it is unclear for me.
OK, let me explain.
There are 3 situations where the compiler is called:
1) Project -> Run
2) Project -> Build
3) Project -> Build all
Further there are 3 stages in compiling:
A) Before compilation
B) Calling FPC
C) After compilation
On the compilation tab one can check what should be called in what
situation. By default B1,B2,B3 are checked and A1,A2,A3,C1,C2,C3 are
unchecked. This means that the compiler is called whenever you choose to
Run, Build or Build all.
I'd like to see configurable messagebox asking if it's time to rebuild
project before debugging. (similiar exists for rebuilding IDE)
Yes.... lets add yet another dialog....
not.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives