<div>Hi,</div><div><br></div><div>I had just composed an answer suggesting using Build Configurations and Post-Build events, when I re-read your message and saw the "D7" :-)</div><div><br></div><div>I think your own solution of copying and renaming the .DPR is by far the easiest - my only suggestion is make sure that each project has it's own unit output directory, so you don't accidentally mix different compile settings when changing projects.</div>
<div><br></div><div>Cheers,</div><div>Alistair. </div><div> <br><br><div class="gmail_quote">On 9 March 2011 17:57, Ross Levis <span dir="ltr"><<a href="mailto:ross@stationplaylist.com">ross@stationplaylist.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-NZ" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Is there any facility to change the name of the exe file when compiling a project? (D7)</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">I use the same source for 2 similar programs and use a conditional define to change the behaviour. It would be nice to not have to rename the EXE manually after every compile.</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:12.0pt;color:#1F497D">Cheers.</span></p></div></div><br>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br></blockquote></div><br></div>