First try at building Windows release with VS2010 and Cmake
This commit is contained in:
parent
f1ed5ae3eb
commit
a3f33c5e97
1 changed files with 12 additions and 8 deletions
|
@ -1,12 +1,16 @@
|
||||||
|
|
||||||
IF NOT DEFINED WORKSPACE SET WORKSPACE=%~dp0
|
IF NOT DEFINED WORKSPACE SET WORKSPACE=%~dp0
|
||||||
|
|
||||||
ECHO #define SIMGEAR_VERSION "2.2.0" > %WORKSPACE%\simgear\simgear\version.h
|
ECHO #define SIMGEAR_VERSION "2.6.0" > %WORKSPACE%\simgear\simgear\version.h
|
||||||
cd %WORKSPACE%\simgear\projects\VC90
|
rem xcopy D:\FGFSHudson\boost_1_44_0\* D:\FGFSHudsonCMake\SimGear\boost_1_44_0\ /s /y /q
|
||||||
msbuild SimGear.vcproj /p:Configuration=Release /m
|
set PATH=%PATH%;D:\Program Files (x86)\CMake 2.8\bin
|
||||||
|
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat"
|
||||||
|
md build-sg
|
||||||
|
md build-fg
|
||||||
|
cd build-sg
|
||||||
|
cmake ..\simgear -G "Visual Studio 10" -DMSVC_3RDPARTY_ROOT=%WORKSPACE% -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100/SimGear
|
||||||
|
cmake --build . --config Release --target INSTALL
|
||||||
|
|
||||||
cd %WORKSPACE%\flightgear
|
cd ..\build-fg
|
||||||
call scripts\tools\version.bat
|
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
|
||||||
SET HAVE_VERSION_H=1
|
cmake --build . --config Release --target INSTALL
|
||||||
cd %WORKSPACE%\flightgear\projects\VC90
|
|
||||||
msbuild FlightGear.sln /p:Configuration=Release /m
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue