aboutsummaryrefslogtreecommitdiff
path: root/doc/building.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/building.md')
-rw-r--r--doc/building.md38
1 files changed, 7 insertions, 31 deletions
diff --git a/doc/building.md b/doc/building.md
index 9ea9344..52fac6a 100644
--- a/doc/building.md
+++ b/doc/building.md
@@ -1,37 +1,12 @@
-## Building from source
-
-### Dependencies
-- [Qt](https://www.qt.io/)
-- [meson](https://mesonbuild.com/) 0.52.0 or later
-- [kconfiglib](https://github.com/ulfalizer/Kconfiglib/)
-- A compiler with C++17 support
-- spdlog: if not found can be downloaded by meson
-
-### Optional dependencies
-- openssl or libressl: for signing plugins
-- breakpad-client
-- gtest
+## Using meson
-### Steps
+### Picking compiler
```
-# clone the repository
-git clone https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote.git smolbote.git
-cd smolbote.git
-
-# Get the submodules
-git submodule init
-git submodule update
-
-# configure
-mkdir build
-meson build
-
-# make
-ninja
+# set the environment variables as desired
+export CXX='ccache clazy'
+export CXX_LD='lld'
```
-## Using meson
-
### Listing build options
```
build% meson configure
@@ -50,7 +25,8 @@ phase:
repo% meson --wrap-mode=nodownload build-path
```
-For more information on how to use meson, see the meson [quick quide](https://mesonbuild.com/Quick-guide.html).
+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