summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorYehonal <hw.2@hotmail.it>2016-07-28 13:33:10 +0200
committerYehonal <yehonal.azeroth@gmail.com>2016-08-07 12:10:05 +0200
commit42ad4da95432ddd0a317f3408f0322414f67ba64 (patch)
tree0898f415c80b318bad3ac06a69576d0396faadeb /conf
parent548d0db9d57351ba136ce47e84ccac222816c9a2 (diff)
starting bash rewriting job [WIP]
Diffstat (limited to 'conf')
-rw-r--r--conf/config.sh.dist130
1 files changed, 130 insertions, 0 deletions
diff --git a/conf/config.sh.dist b/conf/config.sh.dist
new file mode 100644
index 0000000000..1952ca984f
--- /dev/null
+++ b/conf/config.sh.dist
@@ -0,0 +1,130 @@
+#!/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
+CCTYPE=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
+
+##############################################
+#
+# RUNNER CONFIGURATION
+#
+##############################################
+
+# enable/disable GDB execution
+export GDB_ENABLED=0
+
+# gdb file
+export GDB=""
+
+# directory where binary are stored
+exoirt 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/databases/"
+)
+
+DB_AUTH_PATHS=(
+ $SRCPATH"/data/sql/databases/"
+)
+
+DB_WORLD_PATHS=(
+ $SRCPATH"/data/sql/databases/"
+)
+
+# 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=(
+)