Page 1 of 1

Example for pre-/(post-build event commands

Posted: Tue Mar 23, 2021 3:57 am
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

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

Posted: Tue Mar 23, 2021 12:01 pm
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.

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

Posted: Wed Mar 24, 2021 3:13 am
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