diff options
author | alexv-smirnov <alex@ydb.tech> | 2022-11-09 14:24:14 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2022-11-09 14:24:14 +0300 |
commit | ce105bf8bc2d9c7a79cbeed15f61c1fe5b98a3db (patch) | |
tree | 4cbefa216fbf28d1804e60c1fa852b0e1aff3926 | |
parent | cae8b9b8218a7413d2253aec1a0b88b441e50068 (diff) | |
download | ydb-ce105bf8bc2d9c7a79cbeed15f61c1fe5b98a3db.tar.gz |
PR from branch users/alexv-smirnov/feature/-ydb-cli-build-instructions
-rw-r--r-- | BUILD.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -59,11 +59,24 @@ ``` 1. Build ydb - ``` + + Run cmake to generate build configuration: + + ``` cd build cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain ../ydb + ``` + + To build both YDB server (ydbd) and YDB CLI (ydb) run: + ``` ninja ``` + + To build only YDB CLI (ydb) run: + ``` + ninja ydb/apps/ydb/all + ``` + A YDB server binary can be found at: ``` ydb/apps/ydbd/ydbd |