2011-01-23 19:57:32 +00:00
|
|
|
IF NOT DEFINED WORKSPACE SET WORKSPACE=%~dp0
|
|
|
|
|
2011-07-29 12:12:32 +00:00
|
|
|
SET /P SIMGEAR_VERSION=<%WORKSPACE%\simgear\version
|
2011-05-21 14:11:22 +00:00
|
|
|
ECHO #define SIMGEAR_VERSION "%SIMGEAR_VERSION%" > %WORKSPACE%\simgear\simgear\version.h
|
|
|
|
|
2012-01-24 07:06:20 +00:00
|
|
|
rem set PATH=%PATH%;D:\Program Files (x86)\CMake 2.8\bin
|
|
|
|
rem call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat"
|
2013-02-17 12:02:25 +00:00
|
|
|
|
2012-01-23 08:04:47 +00:00
|
|
|
md build-sg
|
|
|
|
md build-fg
|
2012-08-17 19:07:05 +00:00
|
|
|
md build-fgrun
|
2012-01-23 08:04:47 +00:00
|
|
|
cd build-sg
|
2012-11-30 18:52:22 +00:00
|
|
|
cmake ..\simgear -G "Visual Studio 10" -DMSVC_3RDPARTY_ROOT=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100/SimGear -DBOOST_ROOT=%WORKSPACE%/Boost
|
2012-01-23 08:04:47 +00:00
|
|
|
cmake --build . --config Release --target INSTALL
|
2011-01-23 19:57:32 +00:00
|
|
|
|
2012-01-23 08:04:47 +00:00
|
|
|
cd ..\build-fg
|
2012-11-30 18:52:22 +00:00
|
|
|
cmake ..\flightgear -G "Visual Studio 10" -DMSVC_3RDPARTY_ROOT=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100/FlightGear -DFLTK_FLUID_EXECUTABLE=%WORKSPACE%/3rdParty/bin/fluid.exe -DBOOST_ROOT=%WORKSPACE%/Boost
|
2012-01-23 08:04:47 +00:00
|
|
|
cmake --build . --config Release --target INSTALL
|
2012-08-17 19:07:05 +00:00
|
|
|
|
|
|
|
cd ..\build-fgrun
|
2012-11-30 18:52:22 +00:00
|
|
|
cmake ..\fgrun -G "Visual Studio 10" -DMSVC_3RDPARTY_ROOT:PATH=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100/FGRun -DFLTK_FLUID_EXECUTABLE:FILEPATH=%WORKSPACE%/3rdParty/bin/fluid.exe -DGETTEXT_MSGFMT_EXECUTABLE:FILEPATH=%WORKSPACE%/3rdParty/bin/msgfmt.exe -DGETTEXT_MSGMERGE_EXECUTABLE:FILEPATH=%WORKSPACE%/3rdParty/bin/msgmerge.exe -DBOOST_ROOT=%WORKSPACE%/Boost
|
2012-08-17 19:07:05 +00:00
|
|
|
cmake --build . --config Release --target INSTALL
|