aboutsummaryrefslogtreecommitdiff
path: root/docs/manual/Building.md
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-01-03 16:39:32 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-01-03 16:39:32 +0100
commit85d9f14aa8bac16ab341662c770b64a15c21628b (patch)
tree422db18e798646cd4bc98abf342f25c09c0bdf1d /docs/manual/Building.md
parentDownload items' width should no longer exceed the list width (diff)
downloadsmolbote-85d9f14aa8bac16ab341662c770b64a15c21628b.tar.xz
Changed from qbs to cmake
Diffstat (limited to 'docs/manual/Building.md')
-rw-r--r--docs/manual/Building.md23
1 files changed, 9 insertions, 14 deletions
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