script to generate the version.cpp file