diff options
| author | levlam <levlam@telegram.org> | 2025-08-18 20:07:26 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2025-08-18 20:07:26 +0300 |
| commit | 09abb046b3bdc5d502c405e7848f84a90f5f1bc5 (patch) | |
| tree | 5aacedd7bfcb68c161bde8536eb44602c797df86 /README.md | |
| parent | 26970735b03ae428a6f10db881284c7e25e395d9 (diff) | |
Simplify low-memory build instructions.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 .. |
