|
|
Line 107: |
Line 107: |
| === TerraGear === | | === TerraGear === |
| TerraGear can be built the same way as FlightGear, just change the paths to your TerraGear source and directories. | | TerraGear can be built the same way as FlightGear, just change the paths to your TerraGear source and directories. |
|
| |
| == Jenkins Windows configurations ==
| |
| When using CMake GUI, you can add those entries by clicking the Add entry button. Note that you should omit the -D prefix.
| |
|
| |
| === OSG-Win ===
| |
| {{collapsible script
| |
| | type = Windows batch file
| |
| | title = Reconstructed Jenkins build script (32-bit).
| |
| | lang = batch
| |
| | intro = This script has been rebuilt from the output of http://build.flightgear.org:8080/job/OSG-Win/lastBuild/consoleText, with comments added.
| |
| | script = REM Set up.
| |
| cd %WORKSPACE%
| |
| md build32
| |
| cd build32
| |
| del CMakeCache.txt
| |
|
| |
| REM Configure.
| |
| cmake ..\source ^
| |
| -G "Visual Studio 14 2015" ^
| |
| -DOSG_USE_QT:BOOL=OFF ^
| |
| -DBUILD_OSG_APPLICATIONS:BOOL=ON ^
| |
| -DOSG_USE_UTF8_FILENAME:BOOL=ON ^
| |
| -DACTUAL_3RDPARTY_DIR:PATH=%WORKSPACE%\3rdParty ^
| |
| -DCURL_INCLUDE_DIR:PATH=%WORKSPACE%\3rdParty\include ^
| |
| -DTIFF_INCLUDE_DIR:PATH=%WORKSPACE%\3rdParty\include ^
| |
| -DTIFF_LIBRARY:FILEPATH=%WORKSPACE%\3rdParty\lib\libtiff.lib ^
| |
| -DOSG_PLUGIN_SEARCH_INSTALL_DIR_FOR_PLUGINS:BOOL=OFF ^
| |
| -DCURL_LIBRARY:FILEPATH=%WORKSPACE%\3rdParty\lib\libcurl.lib ^
| |
| -DFREETYPE_LIBRARY:FILEPATH=%WORKSPACE%\3rdParty\lib\freetype.lib ^
| |
| -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%\install\msvc140\OpenSceneGraph ^
| |
| -DFREETYPE_INCLUDE_DIR:PATH=%WORKSPACE%\3rdParty\include;%WORKSPACE%\3rdParty\include\freetype
| |
|
| |
| REM Compile.
| |
| cmake --build . --config Release --target INSTALL
| |
| | conc = The <code>WORKSPACE</code> variable is a Windows environmental variable.
| |
| }}
| |
|
| |
| {{collapsible script
| |
| | type = Windows batch file
| |
| | title = Reconstructed Jenkins build script (64-bit).
| |
| | lang = batch
| |
| | intro = This script has been rebuilt from the output of http://build.flightgear.org:8080/job/OSG-Win/lastBuild/consoleText, with comments added.
| |
| | script = REM Set up.
| |
| cd %WORKSPACE%
| |
| md build64
| |
| cd build64
| |
| del CMakeCache.txt
| |
|
| |
| REM Configure.
| |
| cmake ..\source ^
| |
| -G "Visual Studio 14 2015 Win64" ^
| |
| -DOSG_USE_QT:BOOL=OFF ^
| |
| -DBUILD_OSG_APPLICATIONS:BOOL=ON ^
| |
| -DACTUAL_3RDPARTY_DIR:PATH=%WORKSPACE%\3rdParty.x64 ^
| |
| -DCURL_INCLUDE_DIR:PATH=%WORKSPACE%\3rdParty.x64/include ^
| |
| -DTIFF_INCLUDE_DIR:PATH=%WORKSPACE%\3rdParty.x64/include ^
| |
| -DTIFF_LIBRARY:FILEPATH=%WORKSPACE%\3rdParty.x64/lib/libtiff.lib ^
| |
| -DOSG_PLUGIN_SEARCH_INSTALL_DIR_FOR_PLUGINS:BOOL=OFF ^
| |
| -DCURL_LIBRARY:FILEPATH=%WORKSPACE%\3rdParty.x64/lib/libcurl.lib ^
| |
| -DFREETYPE_LIBRARY:FILEPATH=%WORKSPACE%\3rdParty.x64/lib/freetype.lib ^
| |
| -DFREETYPE_INCLUDE_DIR:PATH=%WORKSPACE%\3rdParty.x64/include;%WORKSPACE%\3rdParty.x64/include/freetype ^
| |
| -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc140-64/OpenSceneGraph
| |
|
| |
| REM Compile.
| |
| cmake --build . --config Release --target INSTALL
| |
| | conc = The <code>WORKSPACE</code> variable is a Windows environmental variable.
| |
| }}
| |
|
| |
| === SimGear-Win ===
| |
| {{collapsible script
| |
| | type = Windows batch file
| |
| | title = Reconstructed Jenkins build script (32-bit).
| |
| | lang = batch
| |
| | intro = This script has been rebuilt from the output of http://build.flightgear.org:8080/job/SimGear-Win/lastBuild/consoleText, with comments added.
| |
| | script = REM Set up.
| |
| cd %WORKSPACE%
| |
| md build32
| |
| cd build32
| |
| del CMakeCache.txt
| |
|
| |
| REM Configure.
| |
| cmake ..\source ^
| |
| -DENABLE_RTI=ON ^
| |
| -G "Visual Studio 14 2015" ^
| |
| -DMSVC_3RDPARTY_ROOT=%WORKSPACE% ^
| |
| -DBOOST_ROOT=%WORKSPACE% ^
| |
| -DENABLE_DNS=1 ^
| |
| -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc140/SimGear
| |
|
| |
| REM Compile.
| |
| cmake --build . --config RelWithDebInfo --target INSTALL
| |
| | conc = The <code>WORKSPACE</code> variable is a Windows environmental variable.
| |
| }}
| |
|
| |
| {{collapsible script
| |
| | type = Windows batch file
| |
| | title = Reconstructed Jenkins build script (64-bit).
| |
| | lang = batch
| |
| | intro = This script has been rebuilt from the output of http://build.flightgear.org:8080/job/SimGear-Win/lastBuild/consoleText, with comments added.
| |
| | script = REM Set up.
| |
| cd %WORKSPACE%
| |
| md build64
| |
| cd build64
| |
| del CMakeCache.txt
| |
|
| |
| REM Configure.
| |
| cmake ..\source ^
| |
| -DENABLE_RTI=ON ^
| |
| -G "Visual Studio 14 2015 Win64" ^
| |
| -DMSVC_3RDPARTY_ROOT=%WORKSPACE% ^
| |
| -DBOOST_ROOT=%WORKSPACE% ^
| |
| -DENABLE_DNS=1 ^
| |
| -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc140-64/SimGear
| |
|
| |
| REM Compile.
| |
| cmake --build . --config RelWithDebInfo --target INSTALL
| |
| | conc = The <code>WORKSPACE</code> variable is a Windows environmental variable.
| |
| }}
| |
|
| |
| === FlightGear-Win ===
| |
|
| |
| {{collapsible script
| |
| | type = Windows batch file
| |
| | title = Reconstructed Jenkins build script (32-bit).
| |
| | lang = batch
| |
| | intro = This script has been rebuilt from the output of http://build.flightgear.org:8080/job/FlightGear-Win/lastBuild/consoleText, with comments added.
| |
| | script = REM Set up.
| |
| cd %WORKSPACE%
| |
| md build32
| |
| cd build32
| |
| del CMakeCache.txt
| |
|
| |
| REM Configure.
| |
| cmake ..\source ^
| |
| -G "Visual Studio 14 2015" ^
| |
| -DENABLE_PROFILE=OFF ^
| |
| -DBOOST_ROOT:PATH=%WORKSPACE%/Boost ^
| |
| -DMSVC_3RDPARTY_ROOT:PATH=%WORKSPACE% ^
| |
| -DCMAKE_PREFIX_PATH:PATH="D:\Qt\5.6\msvc2015" ^
| |
| -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc140/FlightGear
| |
|
| |
| REM Compile.
| |
| cmake --build . --config RelWithDebInfo --target INSTALL
| |
| | conc = The <code>WORKSPACE</code> variable is a Windows environmental variable.
| |
| }}
| |
|
| |
| {{collapsible script
| |
| | type = Windows batch file
| |
| | title = Reconstructed Jenkins build script (64-bit).
| |
| | lang = batch
| |
| | intro = This script has been rebuilt from the output of http://build.flightgear.org:8080/job/FlightGear-Win/lastBuild/consoleText, with comments added.
| |
| | script = REM Set up.
| |
| cd %WORKSPACE%
| |
| md build64
| |
| cd build64
| |
| del CMakeCache.txt
| |
|
| |
| REM Configure.
| |
| cmake ..\source ^
| |
| -G "Visual Studio 14 2015 Win64" ^
| |
| -DENABLE_PROFILE=OFF ^
| |
| -DWITH_FGPANEL:BOOL=OFF ^
| |
| -DBOOST_ROOT:PATH=%WORKSPACE%/Boost ^
| |
| -DMSVC_3RDPARTY_ROOT:PATH=%WORKSPACE% ^
| |
| -DCMAKE_PREFIX_PATH:PATH="D:\Qt\5.6\msvc2015_64" ^
| |
| -DFLTK_FLUID_EXECUTABLE:FILEPATH=%WORKSPACE%/3rdParty/bin/fluid.exe ^
| |
| -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc140-64/FlightGear
| |
|
| |
| REM Compile.
| |
| cmake --build . --config RelWithDebInfo --target INSTALL
| |
| | conc = The <code>WORKSPACE</code> variable is a Windows environmental variable.
| |
| }}
| |
|
| |
|
| == External link == | | == External link == |