mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Updated Building KeePassXC (markdown)
@@ -106,7 +106,6 @@ Download and unpack the source code as described in the [Linux](#linux) section.
|
||||
mkdir build
|
||||
cd build
|
||||
cmake \
|
||||
-G "MSYS Makefiles \
|
||||
-DWITH_XC_ALL=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake ..
|
||||
@@ -114,6 +113,8 @@ make -j8 package
|
||||
```
|
||||
If you build with MSVC, make sure that `-DCMAKE_TOOLCHAIN_FILE` points to the correct path of your vcpkg installation. If instead, you build with Msys2, omit it altogether.
|
||||
|
||||
If you build with MSys2, add `-G "MSYS Makefiles`.
|
||||
|
||||
|
||||
## 3. Running tests
|
||||
If you compiled KeePassXC with the CMake flags `-DWITH_TESTS=ON` and `-DWITH_GUI_TESTS=ON`, you can run our unit test suite with:
|
||||
|
||||
Reference in New Issue
Block a user