aboutsummaryrefslogtreecommitdiff
path: root/doc/building.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/building.md')
-rw-r--r--doc/building.md40
1 files changed, 9 insertions, 31 deletions
diff --git a/doc/building.md b/doc/building.md
index 9ea9344..a7feab1 100644
--- a/doc/building.md
+++ b/doc/building.md
@@ -1,11 +1,12 @@
## Building from source
### Dependencies
-- [Qt](https://www.qt.io/)
-- [meson](https://mesonbuild.com/) 0.52.0 or later
+- [Qt](https://www.qt.io/) 6
+- [cmake](https://cmake.org/) 3.16 or later
- [kconfiglib](https://github.com/ulfalizer/Kconfiglib/)
- A compiler with C++17 support
-- spdlog: if not found can be downloaded by meson
+- spdlog
+- SingleApplication
### Optional dependencies
- openssl or libressl: for signing plugins
@@ -13,45 +14,22 @@
- gtest
### Steps
-```
+```sh
# clone the repository
-git clone https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote.git smolbote.git
-cd smolbote.git
+git clone https://neueland.iserlohn-fortress.net/cgit/smolbote.git
+cd smolbote
# Get the submodules
git submodule init
git submodule update
# configure
-mkdir build
-meson build
+cmake -S . -B cmake-build
# make
-ninja
-```
-
-## Using meson
-
-### Listing build options
-```
-build% meson configure
-```
-
-### Changing build options
-```
-build% meson configure -D<option-name>=<enabled|disabled>
-```
-
-### Prevent meson from downloading wraps
-During configure, meson can download missing dependencies on its own using
-wraps. To disable this, pass '--wrap-mode=nodownload' during the configure
-phase:
-```
-repo% meson --wrap-mode=nodownload build-path
+cmake --build cmake-build
```
-For more information on how to use meson, see the meson [quick quide](https://mesonbuild.com/Quick-guide.html).
-
## Configuring builds
smolbote uses Kconfig to store and customize features and default settings such
as keyboard shortcuts and paths. You can edit these settings using `menuconfig`