Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi 2007 post-build event, copy exe into specific directory?

In Delphi 2007 how can I copy the newly-built exe into a specific directory using the post-build event?

Any link to a list of build event commands would be much appreciated.

like image 436
SteB Avatar asked Oct 28 '12 15:10

SteB


1 Answers

Use the copy command in your post-build event:

copy "$(OUTPUTPATH)" MyFolder

The $(OUTPUTPATH) expands to the output file's full path.

like image 172
David Heffernan Avatar answered Nov 14 '22 15:11

David Heffernan