aboutsummaryrefslogtreecommitdiff
path: root/doc/Building
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Building')
-rw-r--r--doc/Building/Breakpad.asciidoc44
-rw-r--r--doc/Building/Windows.asciidoc26
-rw-r--r--doc/Building/meson.asciidoc39
3 files changed, 0 insertions, 109 deletions
diff --git a/doc/Building/Breakpad.asciidoc b/doc/Building/Breakpad.asciidoc
deleted file mode 100644
index aa2642e..0000000
--- a/doc/Building/Breakpad.asciidoc
+++ /dev/null
@@ -1,44 +0,0 @@
-== Breakpad
-
-=== Enabling breakpad
-Use the `-DBreakpad=enabled` option. This requires Breakpad be installed as a package.
-
-=== Building breakpad on linux
-[source, sh]
-----
-# Get the missing linux syscall support header
-if [ ! -f breakpad.git/src/third_party/lss/linux_syscall_support.h ]; then
- mkdir -p breakpad.git/src/third_party/lss
- curl -L https://chromium.googlesource.com/linux-syscall-support/+/master/linux_syscall_support.h?format=TEXT | base64 --decode > breakpad.git/src/third_party/lss/linux_syscall_support.h
-fi
-
-buildpath=$(pwd)/build
-if [ ! -d $buildpath ]; then
- mkdir $buildpath
-fi
-
-installpath=$(pwd)/install
-if [ ! -d $installpath ]; then
- mkdir $installpath
-fi
-
-cd $buildpath
-../breakpad.git/configure --prefix=$installpath
-make
-make install
-----
-
-=== Producing symbols
-[source, sh]
-----
-tools/linux/dump_syms/dump_syms ./poi > poi.sym
-head -n1 poi.sym
-mkdir -p ./symbols/poi/<hex>
-mv poi.sym ./symbols/poi/<hex>
-----
-
-=== Processing minidump
-[source, sh]
-----
-processor/minidump_stackwalk minidump.dmp ./symbols
-----
diff --git a/doc/Building/Windows.asciidoc b/doc/Building/Windows.asciidoc
deleted file mode 100644
index 4c1fc20..0000000
--- a/doc/Building/Windows.asciidoc
+++ /dev/null
@@ -1,26 +0,0 @@
-== Building on Windows
-[source, bat]
-----
-set INSTALL_DIR="C:\projects\smolbote-install"
-mkdir %INSTALL_DIR%
-
-mkdir C:\projects\smolbote-build
-cd C:\projects\smolbote-build
-
-set QT="C:\Qt\5.11\msvc2017_64"
-set BOOST_ROOT="C:\Libraries\boost_1_66_0"
-set BOOST_LIBDIR="C:\Libraries\boost_1_66_0\lib64-msvc-14.1"
-
-cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX=%INSTALL_DIR%
- -DCMAKE_PREFIX_PATH=%QT%;%BOOST_ROOT%
- -DBOOST_ROOT=%BOOST_ROOT% -DBOOST_LIBRARYDIR=%BOOST_LIBDIR% -DBoost_USE_STATIC_LIBS=On
- C:\projects\smolbote
-
-cmake --build . --target poi --config Release
-cmake --build . --target install --config Release
-cd %INSTALL_DIR%
-C:\Qt\5.11\msvc2017_64\bin\windeployqt.exe bin\poi.exe
-
-7z a C:\projects\smolbote\build.7z %INSTALL_DIR%
-----
diff --git a/doc/Building/meson.asciidoc b/doc/Building/meson.asciidoc
deleted file mode 100644
index 255e0ad..0000000
--- a/doc/Building/meson.asciidoc
+++ /dev/null
@@ -1,39 +0,0 @@
-==== Setting compiler
-Compiler can only be set when initially configuring the build, and cannot be
-changed with --reconfigure:
-
-[source, sh]
-----
-export CXX="ccache clang++"
-meson build-path
-----
-
-==== Setting linker
-[source, sh]
-----
-build% meson configure -Dcpp_link_args='-fuse_ld=gold'
-----
-
-==== Listing build options
-[source, sh]
-----
-build% meson configure
-----
-
-==== Changing build options
-[source, sh]
-----
-build% meson configure -D<option-name>=<enabled|disabled>
-# for example:
-build% meson configure -DPlasma=enabled
-----
-
-==== Prevent meson from downloading wraps
-During configure, meson can download missing dependencies on its own using
-wraps. To disable this, pass '--wrap-mode=nodownload' during the configure
-phase:
-[source, sh]
-----
-repo% meson --wrap-mode=nodownload build-path
-----
-