Example for pre-/(post-build event commands

Got a problem you cannot solve? Try here.
Post Reply
anja_laenge
Posts: 131
Joined: Tue Nov 20, 2012 1:02 am

Example for pre-/(post-build event commands

Post by anja_laenge »

Hi,

my goal:
I'd like to utilize the post-build event to write a simple textfile to the Relesase folder with a naming convention like <buildmode>_<yyyyMMdd_HHmmss>.txt containing Productcode and RevisionCode.

edit: I got most issues solved using a custom console app. Remaining is, how to access the projects product and revision code here?

kind regards
Anja
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Example for pre-/(post-build event commands

Post by FrancescoT »

You may use custom compiler variables. These should be defined with the project, and then via build event, these "Custom compiler varialables" should be then passed as command line parameters to your custom console app.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
anja_laenge
Posts: 131
Joined: Tue Nov 20, 2012 1:02 am

Re: Example for pre-/(post-build event commands

Post by anja_laenge »

FrancescoT wrote:You may use custom compiler variables. These should be defined with the project, and then via build event, these "Custom compiler varialables" should be then passed as command line parameters to your custom console app.
Thank you and kind regards
Anja
Post Reply