<br><br><div class="gmail_quote">On Mon, Dec 6, 2010 at 12:12 PM, Kjow <span dir="ltr"><<a href="mailto:antispammoni@gmail.com" target="_blank">antispammoni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Hi all,<br>
<br>
what is the equivalent on command line of the "Clean Up + Build all" in the IDE?<br>
<br>
With:<br>
  make bigideclean bigide OPT="-Xg"<br>
  lazbuild --build-ide=<br>
I don't have the same result.<br>
<br>
Thank you,<br>
Kjow<br>
<font color="#888888"></font><br></blockquote></div><br><br>I also wanted to know, but I suppose the situation is a little complex. As long as I understand this, there are no strict way to do this in the IDE. I'm sure the core developers will correct me, I just describe as I understand this. <br>

<br>Theoretically sometimes the IDE (automatically) and you (in the custom option) can append -B switch that forces fpc to rebuild all the units of the project unconditionally, but  the problem lays in the packages your project depends upon. When Lazarus prepares the parameters for fpc, it basically appends the paths containing compiled units of the packages, so if it gets -B switch, fpc can not reach the unit sources, so builds the project with the compiled version. And I don't know whether the problem is solvable since packages is a special entity in Lazarus treated in special way but maybe I'm wrong. <br>

<br>Personally when I use Delphi 'Build' that actually rebuild every reachable source file, I do this for two reasons <br>1. I have a global define for some profile/debug work so I have to be sure that the code is reverted to non-debug state after <br>

2. For psychological reasons, I feel safer this way before release :) <br><br>Surprisingly Lazarus correctly tracks the first case, when you manually change global define (-d) (but as I said without sources that reside in other packages). As for second reason, in my case it's unbeatable :)<br>

<br>Max Vlasov<br>