enbending git version into project files

from: https://github.com/rpavlik/cmake-modules