feat: Update docs and scripts for Windows and Ubuntu.

This commit is contained in:
Mudit Vats
2021-08-25 08:19:02 -07:00
parent fb29227f9d
commit bb8211ae03
3 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ sudo apt install git cmake build-essential curl zip unzip tar pkg-config
Open a Terminal window. Open a Terminal window.
``` ```
git clone -b 2020.11-1 https://github.com/microsoft/vcpkg.git git clone -b 2021.05.12 https://github.com/microsoft/vcpkg.git
cd vcpkg cd vcpkg
./bootstrap-vcpkg.sh ./bootstrap-vcpkg.sh
./vcpkg install cpprestsdk[websockets] ./vcpkg install cpprestsdk[websockets]
@@ -68,7 +68,7 @@ Steps below are for Windows 10 and Visual Studio 2019 Professional.
Open an x64 Native Tools Command Prompt for Visual Studio 2019. Open an x64 Native Tools Command Prompt for Visual Studio 2019.
``` ```
git clone -b 2020.11-1 https://github.com/microsoft/vcpkg.git git clone -b 2021.05.12 https://github.com/microsoft/vcpkg.git
cd vcpkg cd vcpkg
bootstrap-vcpkg.bat bootstrap-vcpkg.bat
vcpkg install cpprestsdk[websockets]:x64-windows-static vcpkg install cpprestsdk[websockets]:x64-windows-static

View File

@@ -15,7 +15,7 @@ set VCPKG_DIR=C:\opt\vcpkg-source
cd %VCPKG_DIR% cd %VCPKG_DIR%
REM build vcpkg REM build vcpkg
git clone --branch 2020.11-1 https://github.com/microsoft/vcpkg.git git clone --branch 2021.05.12 https://github.com/microsoft/vcpkg.git
cd vcpkg cd vcpkg
cmd /c bootstrap-vcpkg.bat cmd /c bootstrap-vcpkg.bat

View File

@@ -12,7 +12,7 @@ apt install git cmake build-essential curl zip unzip tar pkg-config -y
#cd "$BASE_DIR"/rpc #cd "$BASE_DIR"/rpc
## build vcpkg ## build vcpkg
git -C vcpkg pull || git clone --branch 2020.11-1 https://github.com/microsoft/vcpkg.git vcpkg git -C vcpkg pull || git clone --branch 2021.05.12 https://github.com/microsoft/vcpkg.git vcpkg
cd vcpkg cd vcpkg
./bootstrap-vcpkg.sh ./bootstrap-vcpkg.sh