diff options
| author | Kaiser <whilhelm@sdf.org> | 2021-12-12 11:32:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-12 17:32:09 +0100 |
| commit | 230812d6eb2da223d2ff660372886fd1cf472aff (patch) | |
| tree | 8101649d8b97d4e35d8652d25167bc6a56799ee9 /docs | |
| parent | 3afe523877745fe9ba4cd0630648ce34d0baa6cc (diff) | |
| download | wiki-230812d6eb2da223d2ff660372886fd1cf472aff.tar.gz wiki-230812d6eb2da223d2ff660372886fd1cf472aff.tar.bz2 wiki-230812d6eb2da223d2ff660372886fd1cf472aff.zip | |
chore: Added build instructions for FreeBSD (#658)
* Added build instructions for FreeBSD
* Update docs/FreeBSD.md
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
* Rename FreeBSD.md to freebsd.md
* Update freebsd.md
Co-authored-by: SamuelGogarty <samuelgogarty@sdf.org>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/freebsd.md | 54 | ||||
| -rw-r--r-- | docs/installation.md | 2 |
2 files changed, 56 insertions, 0 deletions
diff --git a/docs/freebsd.md b/docs/freebsd.md new file mode 100644 index 0000000..112a35c --- /dev/null +++ b/docs/freebsd.md @@ -0,0 +1,54 @@ +# FreeBSD + +## Install Dependencies +You need to install the build and runtime dependancies: + +``` +pkg install mysql80-server +pkg install cmake +pkg install boost-all +``` +## Install Azerothcore + +Clone the project + +``` +git clone https://github.com/azerothcore/azerothcore-wotlk.git --branch master --single-branch azerothcore +``` + +Enter the project's directory + +``` +cd azerothcore +``` + +Create the build directory + +``` +mkdir build +``` + +Enter the directory + +``` +cd build +``` + +Configure azerothcore for building + +``` +cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS=0 -DSCRIPTS=static +``` + +Compile Azerothcore + +``` +make -j<number of cores> +``` + +Install Azerothcore + +``` +make install +``` + diff --git a/docs/installation.md b/docs/installation.md index c0426a2..cee31bd 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -32,6 +32,8 @@ These guides are made by community members and might not be up-to-date: - [ArchLinux](arch-linux.md) +- [FreeBSD](FreeBSD.md) + ## Azerothcore Classic setup Every step of the guide is divided in three tabs regarding different operating systems (Linux, macOS and Windows). |
