Update build instructions
This commit is contained in:
dinony 2018-03-18 01:10:00 +01:00 committed by Janek Bevendorff
parent ed2da34d7a
commit 7e75d04055

View File

@ -59,15 +59,22 @@ To update the project from within the project's folder, you can run the followin
git pull git pull
``` ```
For a stable build, it is recommended to checkout the master branch.
```bash
git checkout master
```
Navigate to the directory where you have downloaded KeePassXC and type these commands: Navigate to the directory where you have downloaded KeePassXC and type these commands:
``` ```
cd directory-where-sources-live cd directory-where-sources-live
mkdir build mkdir build
cd build cd build
cmake -DWITH_TESTS=OFF ...and other options - see below... cmake -DWITH_XC_ALL=ON ..
make make
``` ```
These steps place the compiled KeePassXC binary inside the `./build/src/` directory. These steps place the compiled KeePassXC binary inside the `./build/src/` directory.
(Note the cmake notes/options below.) (Note the cmake notes/options below.)