Improve README.md.

GitOrigin-RevId: becea2ac5c35272e32828082ba0345550de7a406
This commit is contained in:
levlam 2018-03-07 13:50:21 +03:00
parent 834289efa1
commit db11ca69fa
2 changed files with 5 additions and 6 deletions

View File

@ -74,11 +74,11 @@ cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ ..
<a name="windows"></a>
#### Windows
* Download and install [gperf](https://sourceforge.net/projects/gnuwin32/files/gperf/3.0.1/). Add the path to gperf to the PATH environment variable.
* Download and install [gperf](https://sourceforge.net/projects/gnuwin32/files/gperf/3.0.1/). Add the path to gperf.exe to the PATH environment variable.
* Install [vcpkg](https://github.com/Microsoft/vcpkg#quick-start).
* Run the following commands:
* Run the following commands to install `TDLib` dependencies using vcpkg:
```
C:\src\vcpkg> .\vcpkg install openssl zlib
C:\src\vcpkg> .\vcpkg install openssl:x64-windows openssl:x86-windows zlib:x64-windows zlib:x86-windows
```
* Build `TDLib` with CMake as explained in [building](#building), but instead of `cmake -DCMAKE_BUILD_TYPE=Release ..` use
```

View File

@ -18,11 +18,11 @@ $td_root = Resolve-Path "../.."
function CheckLastExitCode {
if ($LastExitCode -ne 0) {
$msg = @"
$msg = @"
EXE RETURNED EXIT CODE $LastExitCode
CALLSTACK:$(Get-PSCallStack | Out-String)
"@
throw $msg
throw $msg
}
}
@ -140,4 +140,3 @@ function run {
}
run