Example for pre-/(post-build event commands

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

Example for pre-/(post-build event commands

Postby anja_laenge » Tue Mar 23, 2021 3:57 am

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: 5360
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Tue Mar 23, 2021 12:01 pm

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: 114
Joined: Tue Nov 20, 2012 1:02 am

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

Postby anja_laenge » Wed Mar 24, 2021 3:13 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: Baidu [Spider] and 52 guests