Script would produce an "Access is denied" error on my Windows 7 machine (might have worked fine on later versions of Windows). I fixed this.
Also made it so it doesn't error if the file doesn't exist.
Also added include for the gitrev.h file to the SBS.vcxproj project.
It would probably also be a good idea to mention in the Compilng.md file that you have to run this script, otherwise it will fail to compile because it can't find gitrev.h.
Script would produce an "Access is denied" error on my Windows 7 machine (might have worked fine on later versions of Windows). I fixed this. Also made it so it doesn't error if the file doesn't exist. Also added include for the gitrev.h file to the SBS.vcxproj project.
It would probably also be a good idea to mention in the Compilng.md file that you have to run this script, otherwise it will fail to compile because it can't find gitrev.h.