From 85d9f14aa8bac16ab341662c770b64a15c21628b Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 3 Jan 2018 16:39:32 +0100 Subject: Changed from qbs to cmake --- docs/manual/Building.md | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'docs/manual/Building.md') diff --git a/docs/manual/Building.md b/docs/manual/Building.md index 56a6646..a0c6d94 100644 --- a/docs/manual/Building.md +++ b/docs/manual/Building.md @@ -13,24 +13,19 @@ * A working compiler - gcc or clang on Linux - msvc on Windows due to QtWebEngine -* qbs - - minimal version 1.8.0 +* cmake + - minimal version 3.1.0, but please use something up-to-date ## Compiling - -### Create qbs configuration -Before you can build anything with qbs, you need to set up the compiler -toolchain. - ``` -qbs setup-toolchains --detect -qbs setup-qt /usr/bin/qmake-qt5 qt5 +cmake -DCMAKE_BUILD_TYPE=Release ../smolbote.git +make -j 4 ``` -### Compiling -``` -mkdir ../build -qbs build -d ../build profile:qt5 release +### Using libc++ +```text +cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DUseLibCpp=On ../smolbote.git +make -j 4 ``` ## Packaging @@ -46,7 +41,7 @@ sha512sum --binary head.tar.lz > head.tar.lz.sha512 ``` ### makepkg -A PKGBUILD is provided in linux/makepkg/PKGBUILD. +A PKGBUILD is provided in linux/makepkg/PKGBUILD. Please read before using. ## Troubleshooting -- cgit v1.2.1