cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any macros in SW4STM32 which shows the total number of builds happened from the generation of the code (Build number)?

VISHAL1
Associate II

I want to know the build number of a program in SW4STM32.

2 REPLIES 2
KnarfB
Principal III

I don't think that this is available. You can roll your own by adding a script in Project Properties > C/C++ Build Settings > Build Steps > Pre-build Steps / Post-build Steps. Providing a build number is more a task of source control / continous integration tools like Jenkins.

VISHAL1
Associate II

how to add a pre-build step to auto increment build number stored in a txt file