From bd1736a6cc2630af546893aa83385258cb0b39b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 17 Jun 2016 23:39:02 +0200 Subject: [PATCH] doc: improve Windows RT building docs. --- doc/building.dox | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/doc/building.dox b/doc/building.dox index c95322d85..e5cac6fbe 100644 --- a/doc/building.dox +++ b/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 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", -but use project files from the `winrt/` directory instead. Upcoming version -2.0.4 of SDL has support for WinRT applications, download the source from -https://www.libsdl.org/hg.php and use project files from the `VisualC-WinRT` -directory. Because WinRT applications run in a sandbox, it's recommended to -build the library as static so you don't have to bundle all the DLLs. Example: +but use project files from the `winrt/` directory instead. Version 2.0.4 of SDL +has support for WinRT applications, download the source from +https://www.libsdl.org/download-2.0.php and use project files from the +`VisualC-WinRT` directory. Because WinRT applications run in a sandbox, it's +recommended to build the library as static so you don't have to bundle all the +DLLs. Example: mkdir 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 . Change `WindowsStore` to `WindowsPhone` if you want to build for Windows Phone