Improve README.
GitOrigin-RevId: 77d85ac9661d927031bd5f8b8604c2e02c5b5ddb
This commit is contained in:
parent
335ac34fad
commit
73554fcfa5
@ -126,7 +126,7 @@ To build `TDLib` in Release mode using MSVC, you will need to additionally speci
|
|||||||
|
|
||||||
<a name="using-cxx"></a>
|
<a name="using-cxx"></a>
|
||||||
## Using in CMake C++ projects
|
## Using in CMake C++ projects
|
||||||
For C++ projects that use CMake, the best approach is to build `TDLib` as part of your project or to use a prebuilt installation.
|
For C++ projects that use CMake, the best approach is to build `TDLib` as part of your project or to install it system-wide.
|
||||||
|
|
||||||
There are several libraries that you could use in your CMake project:
|
There are several libraries that you could use in your CMake project:
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ This is an example of building TDLib with `C++/CLI` support and an example of TD
|
|||||||
* Download and install Microsoft Visual Studio 2015 or later.
|
* Download and install Microsoft Visual Studio 2015 or later.
|
||||||
* Download and install [CMake](https://cmake.org/download/); choose "Add CMake to the system PATH" option while installing.
|
* Download and install [CMake](https://cmake.org/download/); choose "Add CMake to the system PATH" option while installing.
|
||||||
* Install [vcpkg](https://github.com/Microsoft/vcpkg#quick-start) or update it to the latest version using `vcpkg update` and following received instructions.
|
* Install [vcpkg](https://github.com/Microsoft/vcpkg#quick-start) or update it to the latest version using `vcpkg update` and following received instructions.
|
||||||
* Install `zlib` and `openssl` for using `vcpkg`:
|
* Install `zlib` and `openssl` using `vcpkg`:
|
||||||
```
|
```
|
||||||
cd <path to vcpkg>
|
cd <path to vcpkg>
|
||||||
.\vcpkg.exe install openssl:x64-windows openssl:x86-windows zlib:x64-windows zlib:x86-windows
|
.\vcpkg.exe install openssl:x64-windows openssl:x86-windows zlib:x64-windows zlib:x86-windows
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
To run this example, you will need installed JDK >= 1.6.
|
To run this example, you will need installed JDK >= 1.6.
|
||||||
For Javadoc documentation generation PHP is needed.
|
For Javadoc documentation generation PHP is needed.
|
||||||
|
|
||||||
TDLib should be prebuilt for using with Java and installed to local subdirectory `td/` as follows:
|
TDLib should be prebuilt with JNI bindings and installed to local subdirectory `td/` as follows:
|
||||||
```
|
```
|
||||||
cd <path to TDLib sources>
|
cd <path to TDLib sources>
|
||||||
mkdir jnibuild
|
mkdir jnibuild
|
||||||
|
Loading…
Reference in New Issue
Block a user