Building using CMake - Windows: Difference between revisions

→‎SimGear-Win-CMake: Updated to the current Jenkins config, switching to {{collapsible script}}.
m (→‎GUI compilation: Update for MSVC 2015.)
(→‎SimGear-Win-CMake: Updated to the current Jenkins config, switching to {{collapsible script}}.)
Line 199: Line 199:
       -DGDAL_INCLUDE_DIR:PATH=
       -DGDAL_INCLUDE_DIR:PATH=
       -DGDAL_LIBRARY:FILEPATH=
       -DGDAL_LIBRARY:FILEPATH=
=== SimGear-Win-CMake ===
=== SimGear-Win ===
  cmake ..\SimGear -G "Visual Studio 10"
{{collapsible script
      -DMSVC_3RDPARTY_ROOT=%WORKSPACE%
| type  = Windows batch file
      -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100/SimGear
| 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-CMake ===
=== FlightGear-Win-CMake ===
  cmake ..\FlightGear -G "Visual Studio 10"
  cmake ..\FlightGear -G "Visual Studio 10"