Files changed (1)
buildcounter is a small (ISC-licensed) tool that helps keeping track of different builds for projects in C/C++. It works by creating and modifying a header file that contains a define like this:
I recommend to do it after successful linking so that only successful builds increase the build count. Otherwise, fixing compile errors with many failed attempts lead to jumps in the build count.
Also run it once manually to make sure that buildno.h exists and contains the define. Include the buildno.h and use the define to output your build number.
Use this parameter to use one of the other parameter names as the output filename (do you really want that?)