I'm a hobbyist C++ coder mostly on Linux systems. Recently i developed a really small personal application and i wanted to see if i could get some automated version numberings in the app. At this moment i keep editing the VERSION.h file that i have created for that sole purpose but it's not actually good practice as it can happen that i forget to edit that file and all is broken. Does anyone here have any custom/special workflow for achieving this? I wanted to have some versioning in the lines of MajorVersion.MinorVersion.BuildNumber or so. Please share what tools/workflows you use for achieving this.
Thanks to everyone for their time and help in advance. Cheers