From b94056e1aadb7fbcdfb8dad492b6066d5efa507f Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Wed, 23 Jun 2021 16:59:35 +0200 Subject: chore: DSCRIPTS=static (#559) * chore: test * chore: DSCRIPTS=static * Revert "chore: test" --- docs/digital-ocean-video-tutorial.md | 2 +- docs/linux-core-installation.md | 2 +- docs/macos-core-installation.md | 2 +- docs/unit-testing.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/digital-ocean-video-tutorial.md b/docs/digital-ocean-video-tutorial.md index 554285e..9887990 100644 --- a/docs/digital-ocean-video-tutorial.md +++ b/docs/digital-ocean-video-tutorial.md @@ -130,7 +130,7 @@ GRANT ALL ON *.* TO 'dbadmin'@'%' IDENTIFIED BY 'password1' WITH GRANT OPTION; - Navigate to the new build folder `cd build` - Now we run the cmake command, this is the pre-compile step to ensure all cpp files are accounted for before we compile, and it tells the compile what to compile. ``` -cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=0 -DSCRIPTS=1 +cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=0 -DSCRIPTS=static ``` - Now we compile AzerothCore - this can take some time depending on the number of CPU cores your Droplet has. This tutorial is based on the 4 CPU core Droplet, which compiles in about 8 minutes. Enter the following command to compile the core and place the assembled items in their new home: ``` diff --git a/docs/linux-core-installation.md b/docs/linux-core-installation.md index 60a3195..917b7ba 100644 --- a/docs/linux-core-installation.md +++ b/docs/linux-core-installation.md @@ -65,7 +65,7 @@ echo $HOME **Note**: in case you use a non-default package for `clang`, you need to replace it accordingly. For example, if you installed `clang-6.0` then you have to replace `clang` with `clang-6.0` and `clang++` with `clang++-6.0` ```sh -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=1 +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 ``` To know the amount of cores available. diff --git a/docs/macos-core-installation.md b/docs/macos-core-installation.md index cad7a9c..dd5ea5a 100644 --- a/docs/macos-core-installation.md +++ b/docs/macos-core-installation.md @@ -62,7 +62,7 @@ At this point, you must be in your "build/" directory. cmake ../ \ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ \ -DTOOLS=0 \ --DSCRIPTS=1 \ +-DSCRIPTS=static \ -DMYSQL_ADD_INCLUDE_PATH=/usr/local/include \ -DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient.dylib \ -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include \ diff --git a/docs/unit-testing.md b/docs/unit-testing.md index 3bd1181..6dbbab2 100644 --- a/docs/unit-testing.md +++ b/docs/unit-testing.md @@ -10,7 +10,7 @@ For example: cd azerothcore mkdir build cd build -cmake ../ -DWITH_WARNINGS=1 -DTOOLS=0 -DSCRIPTS=1 -DBUILD_TESTING=1 +cmake ../ -DWITH_WARNINGS=1 -DTOOLS=0 -DSCRIPTS=static -DBUILD_TESTING=1 make install -j 6 ``` -- cgit