1
0
Fork 0

Pickup SimGear version from its workspace (only works with 2.3.0 or higher)

This commit is contained in:
James Turner 2011-05-21 15:11:22 +01:00
parent 996166626d
commit 8302a21ef7
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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