blob: 112a35ce2c6087445ea1750a65ec5203af033eab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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
```
|