Use a custom_target to recursively invoke Cmake at build time; this ensures the build ID and Git revision are always up to date.