Added auto cmake run on doc generation. This will include the latest version number including the correct revision