mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Now db_assembler also creates the users specified in conf.sh files if not exists + Simplified some paths for compilation
171 lines
3.7 KiB
Plaintext
171 lines
3.7 KiB
Plaintext
# absolute root path of your azerothshard repository
|
|
SRCPATH="$AC_PATH_ROOT"
|
|
|
|
# absolute path where build files must be stored
|
|
BUILDPATH="$AC_PATH_ROOT/build/obj"
|
|
|
|
# absolute path where binary files must be stored
|
|
BINPATH="$AC_PATH_ROOT/build/dist"
|
|
|
|
# absolute path where config. files must be stored
|
|
CONFDIR="$AC_PATH_ROOT/build/dist/etc/"
|
|
|
|
##############################################
|
|
#
|
|
# COMPILER_CONFIGURATIONS
|
|
#
|
|
##############################################
|
|
|
|
|
|
# Set preferred compilers.
|
|
# To use gcc (not suggested) instead of clang change in:
|
|
# CCOMPILERC="/usr/bin/gcc"
|
|
# CCOMPILERCXX="/usr/bin/g++"
|
|
#
|
|
CCOMPILERC="/usr/bin/clang"
|
|
CCOMPILERCXX="/usr/bin/clang++"
|
|
|
|
|
|
# how many thread must be used for compilation ( leave zero to use all available )
|
|
MTHREADS=0
|
|
# enable/disable warnings during compilation
|
|
CWARNINGS=ON
|
|
# enable/disable some debug informations ( it's not a debug compilation )
|
|
CDEBUG=OFF
|
|
# specify compilation type
|
|
CTYPE=Release
|
|
# compile scripts
|
|
CSCRIPTS=ON
|
|
# compile server
|
|
CSERVERS=ON
|
|
# compile tools
|
|
CTOOLS=ON
|
|
# use precompiled headers ( fatest compilation but not optimized if you change headers often )
|
|
CSCRIPTPCH=ON
|
|
CCOREPCH=ON
|
|
|
|
# Skip specific modules from compilation (cmake reconfigure needed)
|
|
# use semicolon ; to separate modules
|
|
CDISABLED_AC_MODULES=""
|
|
|
|
# you can add your custom definitions here ( -D )
|
|
# example: CCUSTOMOPTIONS=" -DWITH_PERFTOOLS=ON -DENABLE_EXTRA_LOGS=ON"
|
|
#
|
|
CCUSTOMOPTIONS=""
|
|
|
|
|
|
##############################################
|
|
#
|
|
# DB ASSEMBLER / EXPORTER CONFIGURATIONS
|
|
#
|
|
##############################################
|
|
|
|
#
|
|
# Basically you don't have to edit it
|
|
# but if you have another database you can add it here
|
|
# and create relative confiugurations below
|
|
#
|
|
DATABASES=(
|
|
"AUTH"
|
|
"CHARACTERS"
|
|
"WORLD"
|
|
)
|
|
|
|
OUTPUT_FOLDER="$AC_PATH_ROOT/bin/db_assembler/output/"
|
|
|
|
#
|
|
# Enable following flag
|
|
# if you want backup your db
|
|
# before import sql with db_assembler
|
|
#
|
|
BACKUP_ENABLE=true
|
|
|
|
BACKUP_FOLDER="$AC_PATH_ROOT/bin/db_assembler/backup/"
|
|
|
|
# FULL DB
|
|
DB_CHARACTERS_PATHS=(
|
|
$SRCPATH"/data/sql/base/db_characters"
|
|
)
|
|
|
|
DB_AUTH_PATHS=(
|
|
$SRCPATH"/data/sql/base/db_auth/"
|
|
)
|
|
|
|
DB_WORLD_PATHS=(
|
|
$SRCPATH"/data/sql/base/db_world/"
|
|
)
|
|
|
|
# UPDATES
|
|
DB_CHARACTERS_UPDATE_PATHS=(
|
|
$SRCPATH"/data/sql/updates/db_characters/"
|
|
$SRCPATH"/data/sql/updates/pending_db_characters/"
|
|
)
|
|
|
|
DB_AUTH_UPDATE_PATHS=(
|
|
$SRCPATH"/data/sql/updates/db_auth/"
|
|
$SRCPATH"/data/sql/updates/pending_db_auth/"
|
|
)
|
|
|
|
DB_WORLD_UPDATE_PATHS=(
|
|
$SRCPATH"/data/sql/updates/db_world/"
|
|
$SRCPATH"/data/sql/updates/pending_db_world/"
|
|
)
|
|
|
|
# CUSTOM
|
|
DB_CHARACTERS_CUSTOM_PATHS=(
|
|
$SRCPATH"/data/sql/custom/db_characters/"
|
|
)
|
|
|
|
DB_AUTH_CUSTOM_PATHS=(
|
|
$SRCPATH"/data/sql/custom/db_auth/"
|
|
)
|
|
|
|
DB_WORLD_CUSTOM_PATHS=(
|
|
$SRCPATH"/data/sql/custom/db_world/"
|
|
)
|
|
|
|
##############################################
|
|
#
|
|
# DB EXPORTER/IMPORTER CONFIGURATIONS
|
|
#
|
|
##############################################
|
|
|
|
#
|
|
# Skip import of base sql files to avoid
|
|
# table dropping
|
|
#
|
|
DB_SKIP_BASE_IMPORT_IF_EXISTS=true
|
|
|
|
#
|
|
# Example:
|
|
# "C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe"
|
|
# "/usr/bin/mysql"
|
|
# "mysql"
|
|
#
|
|
|
|
DB_MYSQL_EXEC="mysql"
|
|
DB_MYSQL_DUMP_EXEC="mysqldump"
|
|
|
|
DB_CHARACTERS_CONF="MYSQL_USER='acore'; \
|
|
MYSQL_PASS='acore'; \
|
|
MYSQL_HOST='127.0.0.1';\
|
|
"
|
|
|
|
DB_AUTH_CONF="MYSQL_USER='acore'; \
|
|
MYSQL_PASS='acore'; \
|
|
MYSQL_HOST='127.0.0.1';\
|
|
"
|
|
|
|
|
|
DB_WORLD_CONF="MYSQL_USER='acore'; \
|
|
MYSQL_PASS='acore'; \
|
|
MYSQL_HOST='127.0.0.1';\
|
|
"
|
|
|
|
|
|
DB_CHARACTERS_NAME="acore_characters"
|
|
|
|
DB_AUTH_NAME="acore_auth"
|
|
|
|
DB_WORLD_NAME="acore_world"
|