diff options
Diffstat (limited to 'example')
| -rw-r--r-- | example/java/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/java/README.md b/example/java/README.md index ca103947f..df28255fe 100644 --- a/example/java/README.md +++ b/example/java/README.md @@ -19,8 +19,6 @@ If you want to compile TDLib for 32-bit/64-bit Java on Windows using MSVC, you w In Windows, use vcpkg toolchain file by adding parameter -DCMAKE_TOOLCHAIN_FILE=<VCPKG_DIR>/scripts/buildsystems/vcpkg.cmake -If you want to build JsonClient.java wrapper for JSON interface instead of the native JNI interface, add `-DTD_JSON_JAVA=ON` option to CMake. - After this you can compile the example source code: ``` cd <path to TDLib sources>/example/java @@ -30,6 +28,8 @@ cmake -DCMAKE_BUILD_TYPE=Release -DTd_DIR=<full path to TDLib sources>/example/j cmake --build . --target install ``` +If you want to build JsonClient.java wrapper for JSON interface instead of the native JNI interface, add `-DTD_JSON_JAVA=ON` option to CMake when building the example. + Compiled TDLib shared library and Java example after that will be placed in `bin/` and Javadoc documentation in `docs/`. After this you can run the Java example: |
