Building using CMake - Windows: Difference between revisions

Jump to navigation Jump to search
→‎FlightGear-Win-CMake: Updated to the current Jenkins config, switching to {{collapsible script}}.
(→‎FlightGear-Win-CMake: Updated to the current Jenkins config, switching to {{collapsible script}}.)
Line 250: Line 250:
}}
}}


=== FlightGear-Win-CMake ===
=== FlightGear-Win ===
cmake ..\FlightGear -G "Visual Studio 10"
 
      -DMSVC_3RDPARTY_ROOT=%WORKSPACE%
{{collapsible script
      -DCMAKE_INSTALL_PREFIX:PATH=%WORKSPACE%/install/msvc100/FlightGear
| type  = Windows batch file
      -DFLTK_FLUID_EXECUTABLE=%WORKSPACE%/3rdParty/bin/fluid.exe
| 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.
}}
 
=== FGRun-Win-CMake ===
=== FGRun-Win-CMake ===
  cmake ..\svn -G "Visual Studio 10"  
  cmake ..\svn -G "Visual Studio 10"  

Navigation menu