From c46b54ad662c4e7bd96e3745b6ff5bb72da3c671 Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 4 Mar 2021 01:11:10 +0300 Subject: README: better cmake commands --- README.md | 16 ++++++---------- 1 file 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 -- cgit v1.2.3-70-g09d2