[DUG] Conditionally change name of output exe

Alistair Ward alistair at fred.gen.nz
Wed Mar 9 19:17:29 NZDT 2011


Hi,

I had just composed an answer suggesting using Build Configurations and
Post-Build events, when I re-read your message and saw the "D7" :-)

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.

Cheers,
Alistair.


On 9 March 2011 17:57, Ross Levis <ross at stationplaylist.com> wrote:

> Is there any facility to change the name of the exe file when compiling a
> project? (D7)
>
>
>
> 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.
>
>
>
> Cheers.
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110309/ca3316b4/attachment-0001.html 


More information about the Delphi mailing list