From 9bf4c887d4f51d2d52e90667b9a6eda064fe5c62 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 14 Nov 2010 23:25:06 +0000 Subject: [PATCH] Windows version.h generation script. --- scripts/tools/version.bat | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 scripts/tools/version.bat diff --git a/scripts/tools/version.bat b/scripts/tools/version.bat new file mode 100644 index 000000000..433192b90 --- /dev/null +++ b/scripts/tools/version.bat @@ -0,0 +1,25 @@ + +REM + +ECHO OFF + +SET /P FLIGHTGEAR_VERSION= %Header% + +ECHO #define FLIGHTGEAR_VERSION "%FLIGHTGEAR_VERSION%" >> %Header% +ECHO #define HUDSON_BUILD_ID "%HUDSON_BUILD_ID%" >> %Header% +ECHO #define HUDSON_BUILD_NUMBER %HUDSON_BUILD_NUMBER% >> %Header% +ECHO #define REVISION "%REVISION%" >> %Header% + + +