Add range-v3 library.

This commit is contained in:
John Preston 2017-11-19 18:37:07 +04:00
parent 04a1cff24a
commit 68bc8d0231
6 changed files with 9 additions and 0 deletions

View File

@ -35,6 +35,7 @@ The source code is published under GPLv3 with OpenSSL exception, the license is
* FFmpeg ([LGPL](https://www.ffmpeg.org/legal.html))
* Guideline Support Library ([MIT License](https://github.com/Microsoft/GSL/blob/master/LICENSE))
* Mapbox Variant ([BSD License](https://github.com/mapbox/variant/blob/master/LICENSE))
* Range-v3 ([Boost License](https://github.com/ericniebler/range-v3/blob/master/LICENSE.txt))
* Open Sans font ([Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0.html))
* Emoji alpha codes ([MIT License](https://github.com/emojione/emojione/blob/master/extras/alpha-codes/LICENSE.md))
* Catch test framework ([Boost License](https://github.com/philsquared/Catch/blob/master/LICENSE.txt))

View File

@ -62,6 +62,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include <map>
#include <algorithm>
#include <memory>
#include <range/v3/all.hpp>
// Ensures/Expects.
#include <gsl/gsl_assert>

View File

@ -102,6 +102,7 @@
'<(libs_loc)/ffmpeg',
'<(libs_loc)/openal-soft/include',
'<(libs_loc)/opus/include',
'<(libs_loc)/range-v3/include',
'<(minizip_loc)',
'<(sp_media_key_tap_loc)',
'<(emoji_suggestions_loc)',

View File

@ -33,6 +33,8 @@ Go to ***BuildPath*** and run
mkdir Libraries
cd Libraries
git clone https://github.com/ericniebler/range-v3
git clone https://github.com/telegramdesktop/zlib.git
cd zlib
./configure

View File

@ -51,6 +51,8 @@ Open **x86 Native Tools Command Prompt for VS 2017.bat**, go to ***BuildPath***
mkdir Libraries
cd Libraries
git clone https://github.com/Microsoft/Range-V3-VS2015 range-v3
git clone https://github.com/telegramdesktop/lzma.git
cd lzma\C\Util\LzmaLib
msbuild LzmaLib.sln /property:Configuration=Debug

View File

@ -20,6 +20,8 @@ Go to ***BuildPath*** and run
cd Libraries
git clone https://github.com/ericniebler/range-v3
cd xz-5.0.5
./configure
make