From 09abb046b3bdc5d502c405e7848f84a90f5f1bc5 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 18 Aug 2025 20:07:26 +0300 Subject: Simplify low-memory build instructions. --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7901a3931..12d2e0400 100644 --- a/README.md +++ b/README.md @@ -68,15 +68,12 @@ cmake --build . ``` To build `TDLib` on low memory devices you can run [SplitSource.php](https://github.com/tdlib/td/blob/master/SplitSource.php) script -before compiling main `TDLib` source code and compile only needed targets: +before compiling `TDLib` source code and compile only needed targets: ``` +php SplitSource.php mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. -cmake --build . --target prepare_cross_compiling -cd .. -php SplitSource.php -cd build cmake --build . --target tdjson cmake --build . --target tdjson_static cd .. -- cgit v1.2.3