diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-09-22 21:32:18 +0300 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-09-22 21:32:18 +0300 |
commit | 1bc4963fb1f10a87d5df384701e3c59a1f8ada9d (patch) | |
tree | e9bf0e54385b43f4c18e2244fb811d9b04535f87 /doc | |
parent | Fix compiler warnings in Configuration (diff) | |
download | smolbote-1bc4963fb1f10a87d5df384701e3c59a1f8ada9d.tar.xz |
Update Readme
Fix crash when downloading
Diffstat (limited to 'doc')
-rw-r--r-- | doc/building.md | 38 |
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 |