FileHeader
FileHeader copied to clipboard
Having a save or build counter?
As confusing as version numbers are since everyone can't get on board for a uniform way to write them, having an additional build count has always been crazy (because it reaches into the thousands for some projects) but helpful in the long run of knowing that you're looking at the latest version.
Could you consider either having a build counter that adds 1 to the build number if enabled or else consider prompting the user for the version they are calling that save upon the time of the save?
I'm not the owner, but I do write software on a regular basis as a student and for research. For this, using a build system seems like the right answer, because realistically you don't want to update the version number on file save. CMake has great cross-platform support, and has support for both major and minor builds natively. I would check into that if I were you. :)
Having a save counter would quickly reach very large numbers, and wouldn't be terribly informative (for example I spam the save button) but is definitely possible using Jinja if you really want to go that route.