1
vote

Solution for Delphi – post-build event with multiple if/copy combinations only execute if first file does not exist – Stack Overflow
The Wiert Corner
– My solution in [WayBack] delphi – post-build event with multiple if/copy combinations only execute if first file does not exist – Stack Overflow is an addendum to my 2014 post Delphi prebuild/prelink/postbuild events. Here we go: Q Given the bin\ directory inside the Delphi project contains the files Cert.pem and Key.pem, the below Delphi post-build event only copies both files if C:\Binaries\Cert.pem does not exist: if not exist $(OUTPUTDIR)Cert.pem (copy bin\Cert.pem $(OUTPUTDIR)) if not exist $(OUTPUTDIR)Key.pem (copy bin\Key.pem $(OUTPUTDIR)) As soon as C:\Binaries\Cert.pem ...
Statistics
|
Visits by Source |
User Actions |