3 rem -- Echo the git commit hash. If git isn't available for some reason,
4 rem -- output nothing instead.
8 set /p VERSION=<..\..\VERSION.txt
11 echo // AUTO-GENERATED BY %0 %*>..\gen\GenVersion.h
12 echo const char GenVersion_Version[] = "%VERSION%";>>..\gen\GenVersion.h
13 echo const char GenVersion_Commit[] = "%COMMIT%";>>..\gen\GenVersion.h
15 rem -- The winpty.gyp file expects the script to output the include directory,
16 rem -- relative to src.
19 rem -- Set ERRORLEVEL to 0 using this cryptic syntax.