aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2022-11-09 14:24:14 +0300
committeralexv-smirnov <alex@ydb.tech>2022-11-09 14:24:14 +0300
commitce105bf8bc2d9c7a79cbeed15f61c1fe5b98a3db (patch)
tree4cbefa216fbf28d1804e60c1fa852b0e1aff3926
parentcae8b9b8218a7413d2253aec1a0b88b441e50068 (diff)
downloadydb-ce105bf8bc2d9c7a79cbeed15f61c1fe5b98a3db.tar.gz
PR from branch users/alexv-smirnov/feature/-ydb-cli-build-instructions
-rw-r--r--BUILD.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/BUILD.md b/BUILD.md
index 207c7e3a32..3acaab3c7a 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -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