From 1bc4963fb1f10a87d5df384701e3c59a1f8ada9d Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 22 Sep 2020 21:32:18 +0300 Subject: Update Readme Fix crash when downloading --- doc/building.md | 38 +++++++------------------------------- 1 file changed, 7 insertions(+), 31 deletions(-) (limited to 'doc') 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 -- cgit v1.2.1