04-10-2020 09:59 AM
@Bob_Schor wrote:
wiebe@CARYA wrote:
+ Pre build actions are preformed before LV starts building an executable.
No! This is the reason for my Idea Exchange that (so far) has been ignored. Pre-build Actions are performed after the Build has begun, but presumably before the files are assembled into the Executable.
That's semantics. It hasn't began building an executable, but the build has began.
04-10-2020 10:20 AM
wiebe@CARYA wrote:
@Bob_Schor wrote:
wiebe@CARYA wrote:
+ Pre build actions are preformed before LV starts building an executable.
No! This is the reason for my Idea Exchange that (so far) has been ignored. Pre-build Actions are performed after the Build has begun, but presumably before the files are assembled into the Executable.
That's semantics. It hasn't began building an executable, but the build has began.
I complete agree -- it is semantics, the "meaning" of "Pre-build Actions". As I read your sentence, you seem to agree with me that "the build has begun". In fact, what I did was write my own "Build Right" that runs whatever code I want to do "before the Build" (here, use Subversion's Revision Number as the "Build" element of the Build Spec's Version info), and then use LabVIEW's Build VI to do the Build. The actions that I do before the Build are, by definition, "Pre-build Actions".
If there is ever another NI Week we both attend "in person", we can discuss these Semantics over a beer (or glass of wine) -- I'll buy.
Bob Schor
04-10-2020 10:32 AM
But the build is started by the user. Should the pre-build action be executed before the user started it? 😊
But there's definitely room for improvement. Another obvious improvement it to provide an array of pre\post-build actions. Seem easier to program as well, but apparently it's a difficult request.
Have a nice weekend!