From 9efa9a49d90bdb0cca40ecec6513e9ef70a90f86 Mon Sep 17 00:00:00 2001 From: Arseny Smirnov Date: Wed, 7 Mar 2018 11:50:46 +0300 Subject: [PATCH] minor GitOrigin-RevId: 3c591f9c2e8eb8443bf3b2c3be3ba2fb37b1f769 --- example/uwp/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/example/uwp/README.md b/example/uwp/README.md index b50a0a573..f34fcd1a3 100644 --- a/example/uwp/README.md +++ b/example/uwp/README.md @@ -5,23 +5,29 @@ Here are script for building TDLib SDK for universal windows platfrom and an exa ## Building SDK 1. Install [vcpkg](https://github.com/Microsoft/vcpkg). + 2. With `vcpkg` install `zlib` and `openssl` for all UWP architectures. ``` .\vcpkg.exe install openssl:arm-uwp openssl:arm64-uwp openssl:x64-uwp openssl:x86-uwp zlib:arm-uwp zlib:arm64-uwp zlib:x64-uwp zlib:x86-uwp ``` 3. Install 7z. You may also use zip or winrar. + 4. Run build.ps1 with `powershell`. Pass path to vcpkg as `-vcpkg-root` argument. ``` .\build.ps1 -vcpkg-root "~\vcpkg\" ``` + If you wish to use `zip` or `WinRAR` instead of `7z` pass `-compress zip` or `-compress winrar`. + The build process will take a lot of time, as TDLib will be built for multiple platforms in Debug and Release configurations. You may interrupt and resume the script at any moment. + If you will need to restart the build from scratch, call `.\build.ps -mode "clean"` first. + 5. `tdlib.vsix` will be at `build-uwp\vsix\tdlib.vsix`. Open it and install the SDK. ## Example of usage -`app` directory contains an example of UWP app for windows. Just open it with Visual Studio 2015 or 2017 and run. +`app` directory contains a simple example of app for Universal Windows Plaform. Just open it with Visual Studio 2015 or 2017 and run.