diff --git a/hudson_win_build32.bat b/hudson_win_build32.bat index 77669d5..c5f1e3a 100644 --- a/hudson_win_build32.bat +++ b/hudson_win_build32.bat @@ -1,7 +1,9 @@ IF NOT DEFINED WORKSPACE SET WORKSPACE=%~dp0 -ECHO #define SIMGEAR_VERSION "2.2.0" > %WORKSPACE%\simgear\simgear\version.h +SET /P SIMGEAR_VERSION=<%WORKSAPCE%\simgear\version +ECHO #define SIMGEAR_VERSION "%SIMGEAR_VERSION%" > %WORKSPACE%\simgear\simgear\version.h + cd %WORKSPACE%\simgear\projects\VC90 msbuild SimGear.vcproj /p:Configuration=Release /m diff --git a/hudson_win_build64.bat b/hudson_win_build64.bat index 4d235de..1d044bb 100644 --- a/hudson_win_build64.bat +++ b/hudson_win_build64.bat @@ -1,7 +1,9 @@ IF NOT DEFINED WORKSPACE SET WORKSPACE=%~dp0 -ECHO #define SIMGEAR_VERSION "2.2.0" > %WORKSPACE%\simgear\simgear\version.h +SET /P SIMGEAR_VERSION=<%WORKSAPCE%\simgear\version +ECHO #define SIMGEAR_VERSION "%SIMGEAR_VERSION%" > %WORKSPACE%\simgear\simgear\version.h + cd %WORKSPACE%\simgear\projects\VC90 msbuild SimGear.vcproj /p:Configuration=Release /p:Platform=x64