aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-03-04 01:11:10 +0300
committerlink2xt <link2xt@testrun.org>2021-03-04 01:11:29 +0300
commitc46b54ad662c4e7bd96e3745b6ff5bb72da3c671 (patch)
tree37c07372e757473277a7f92243b591ca33cd3556
parent88d8d52d240545a62d28afb7f400788f33c74987 (diff)
downloadkdeltachat-c46b54ad662c4e7bd96e3745b6ff5bb72da3c671.tar.gz
kdeltachat-c46b54ad662c4e7bd96e3745b6ff5bb72da3c671.zip
README: better cmake commands
-rw-r--r--README.md16
1 files changed, 6 insertions, 10 deletions
diff --git a/README.md b/README.md
index 34dcbf8..ba75538 100644
--- a/README.md
+++ b/README.md
@@ -53,11 +53,9 @@ Alternatively, if you are not using `kdesrc-build`, install `libdeltachat` syste
```
$ git clone https://github.com/deltachat/deltachat-core-rust.git
$ cd deltachat-core-rust
-$ mkdir build
-$ cd build
-$ cmake ..
-$ make
-$ sudo make install
+$ cmake -B build .
+$ cmake --build build
+$ sudo cmake --install build
```
## Qt
@@ -106,15 +104,13 @@ such as `kirigami2-dev` on Debian or Ubuntu, `kirigami2` on Arch Linux or `kirig
In `kdeltachat` directory, run:
```
-mkdir build
-cd build
-cmake ..
-make
+cmake -B build .
+cmake --build build
```
# Running
-Run `./kdeltachat`. Import existing account from backup or setup a
+Run `build/kdeltachat`. Import existing account from backup or setup a
new one. Start IO in the main menu to connect.
# Troubleshooting