sudo apt install libsodium-dev

# get dependencies
git submodule update --init --recursive


cd dependencies/mariadb-connector-c
mkdir build 
cd build
cmake -DWITH_SSL=OFF ..
cd ../../../


# get more dependencies with conan (need conan from https://conan.io/)
mkdir build && cd build
# // not used anymore
# conan remote add inexor https://api.bintray.com/conan/inexorgame/inexor-conan
# not needed, but bincrafter
# conan install .. -s build_type=Debug
conan install ..

# build Makefile with cmake
cmake ..

make grpc 
# under windows build at least release for protoc.exe and grpc c++ plugin
cd ../
./unix_parse_proto.sh
cd build
make 

