mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
133 lines
2.5 KiB
Bash
133 lines
2.5 KiB
Bash
#!/bin/bash
|
|
|
|
#!/bin/bash
|
|
|
|
|
|
# absolute root path of your azerothshard repository
|
|
SRCPATH="$AZTH_PATH_ROOT"
|
|
# absolute path where binary files must be stored
|
|
BINPATH="$AZTH_PATH_ROOT/build/"
|
|
# absolute path where config. files must be stored
|
|
CONFDIR="$AZTH_PATH_ROOT/build/etc/"
|
|
|
|
##############################################
|
|
#
|
|
# COMPILER_CONFIGURATIONS
|
|
#
|
|
##############################################
|
|
|
|
|
|
# set preferred compilers
|
|
#CCOMPILERC="/usr/bin/clang-3.6"
|
|
#CCOMPILERCC="/usr/bin/clang-3.6"
|
|
#CCOMPILERCXX="/usr/bin/clang++-3.6"
|
|
CCOMPILERC="/usr/bin/gcc"
|
|
CCOMPILERCC="/usr/bin/gcc"
|
|
CCOMPILERCXX="/usr/bin/g++"
|
|
|
|
# how many thread must be used for compilation ( leave zero to use all available )
|
|
MTHREADS=0
|
|
# enable/disable warnings during compilation
|
|
CWARNINGS=1
|
|
# enable/disable some debug informations ( it's not a debug compilation )
|
|
CDEBUG=0
|
|
# specify compilation type
|
|
CTYPE=Release
|
|
# compile scripts
|
|
CSCRIPTS=1
|
|
# compile server
|
|
CSERVERS=1
|
|
# compile tools
|
|
CTOOLS=0
|
|
# use precompiled headers ( fatest compilation but not optimized if you change headers often )
|
|
CSCRIPTPCH=1
|
|
CCOREPCH=1
|
|
# you can add your custom definitions here ( -D )
|
|
CCUSTOMOPTIONS=""
|
|
|
|
##############################################
|
|
#
|
|
# RUNNER CONFIGURATION
|
|
#
|
|
##############################################
|
|
|
|
# enable/disable GDB execution
|
|
export GDB_ENABLED=0
|
|
|
|
# gdb file
|
|
export GDB=""
|
|
|
|
# directory where binary are stored
|
|
export BINPATH=""
|
|
|
|
### Put here the pid you configured on your worldserver.conf file ###
|
|
export SERVERPID=""
|
|
|
|
# path to conf file
|
|
export CONFIG=""
|
|
|
|
# path of log files
|
|
export LOGS_PATH="";
|
|
|
|
# exec name
|
|
export SERVERBIN=""
|
|
|
|
# name of screen service ( for restarter )
|
|
export SCREEN_NAME=""
|
|
|
|
|
|
##############################################
|
|
#
|
|
# DB ASSEMBLER CONFIGURATIONS
|
|
#
|
|
##############################################
|
|
|
|
|
|
# 0 if you want create an sql for each kind of following categories
|
|
# 1 to create a single big file to import ( suggested for new installations )
|
|
ALL_IN_ONE=0
|
|
|
|
DATABASES=(
|
|
"AUTH"
|
|
"CHARACTERS"
|
|
"WORLD"
|
|
)
|
|
|
|
OUTPUT_FOLDER="output/"
|
|
|
|
# FULL DB
|
|
DB_CHARACTERS_PATHS=(
|
|
$SRCPATH"/data/sql/base/characters"
|
|
)
|
|
|
|
DB_AUTH_PATHS=(
|
|
$SRCPATH"/data/sql/base/auth/"
|
|
)
|
|
|
|
DB_WORLD_PATHS=(
|
|
$SRCPATH"/data/sql/base/world/"
|
|
)
|
|
|
|
# UPDATES
|
|
DB_CHARACTERS_UPDATE_PATHS=(
|
|
$SRCPATH"/data/sql/updates/characters/"
|
|
)
|
|
|
|
DB_AUTH_UPDATE_PATHS=(
|
|
$SRCPATH"/data/sql/updates/auth/"
|
|
)
|
|
|
|
DB_WORLD_UPDATE_PATHS=(
|
|
$SRCPATH"/data/sql/updates/world/"
|
|
)
|
|
|
|
# CUSTOM
|
|
DB_CHARACTERS_CUSTOM_PATHS=(
|
|
)
|
|
|
|
DB_AUTH_CUSTOM_PATHS=(
|
|
)
|
|
|
|
DB_WORLD_CUSTOM_PATHS=(
|
|
)
|