Browse Source

doc: improve Windows RT building docs.

pull/158/head
Vladimír Vondruš 10 years ago
parent
commit
bd1736a6cc
  1. 20
      doc/building.dox

20
doc/building.dox

@ -396,15 +396,23 @@ installation path for WinRT dependencies is in `C:/Sys-winrt`.
You need at least Windows 8.1, Visual Studio 2013 and Windows 8.1 Store/Phone You need at least Windows 8.1, Visual Studio 2013 and Windows 8.1 Store/Phone
SDK installed. Windows RT applications support OpenGL only through ANGLE, which SDK installed. Windows RT applications support OpenGL only through ANGLE, which
is currently limited to OpenGL ES. Download and build ANGLE @ref building-windows-angle "according to instructions above", is currently limited to OpenGL ES. Download and build ANGLE @ref building-windows-angle "according to instructions above",
but use project files from the `winrt/` directory instead. Upcoming version but use project files from the `winrt/` directory instead. Version 2.0.4 of SDL
2.0.4 of SDL has support for WinRT applications, download the source from has support for WinRT applications, download the source from
https://www.libsdl.org/hg.php and use project files from the `VisualC-WinRT` https://www.libsdl.org/download-2.0.php and use project files from the
directory. Because WinRT applications run in a sandbox, it's recommended to `VisualC-WinRT` directory. Because WinRT applications run in a sandbox, it's
build the library as static so you don't have to bundle all the DLLs. Example: recommended to build the library as static so you don't have to bundle all the
DLLs. Example:
mkdir build-winrt mkdir build-winrt
cd build-winrt cd build-winrt
cmake -DCORRADE_RC_EXECUTABLE="C:/Sys/bin/corrade-rc.exe" -DCMAKE_INSTALL_PREFIX="C:/Sys-winrt" -DBUILD_STATIC=ON -DWITH_SDL2APPLICATION=ON -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=8.1 -G "Visual Studio 14 2015" .. cmake .. ^
-DCMAKE_SYSTEM_NAME=WindowsStore ^
-DCMAKE_SYSTEM_VERSION=10 ^
-DCORRADE_RC_EXECUTABLE="C:/Sys/bin/corrade-rc.exe" ^
-DCMAKE_INSTALL_PREFIX="C:/Sys-winrt" ^
-DBUILD_STATIC=ON ^
-DWITH_SDL2APPLICATION=ON ^
-G "Visual Studio 14 2015" ..
cmake --build . cmake --build .
Change `WindowsStore` to `WindowsPhone` if you want to build for Windows Phone Change `WindowsStore` to `WindowsPhone` if you want to build for Windows Phone

Loading…
Cancel
Save