Conditional Build Events possible in the Project Options/Settings?
Posted: Thu Apr 28, 2022 2:08 pm
I haven't seen in the forum any mention of the question I have:
Is it possible to create conditional Build Events in the project Settings or do these dialogs only allow for calling commands? I'm asking this as I've been adding a couple of items do the Pre-Compress and Post-Compress events in which I realized I don't want the items to run if my program is still in developmental phase, only for Release.
It seems like I would have to write a custom script (powershell or bat) that accepts a conditional item passed through the miabuild command line. I was hoping to not have to write another script to work around things.
I guess that comes to the second question if the first is no, can the Pre-Compress and Post-Compress Events call powershell or bat scripts?
Is it possible to create conditional Build Events in the project Settings or do these dialogs only allow for calling commands? I'm asking this as I've been adding a couple of items do the Pre-Compress and Post-Compress events in which I realized I don't want the items to run if my program is still in developmental phase, only for Release.
It seems like I would have to write a custom script (powershell or bat) that accepts a conditional item passed through the miabuild command line. I was hoping to not have to write another script to work around things.
I guess that comes to the second question if the first is no, can the Pre-Compress and Post-Compress Events call powershell or bat scripts?