update modules, adding readme

This commit is contained in:
Dario 2019-12-02 11:32:52 +01:00
parent adc9a25db9
commit edf2b1bdbe
2 changed files with 31 additions and 1 deletions

2
.gitmodules vendored
View File

@ -6,7 +6,7 @@
url = https://github.com/MariaDB/mariadb-connector-c.git
[submodule "src/proto"]
path = src/proto
url = git@***REMOVED***:~/_protobuf/gradido_protobuf
url = ssh://git@***REMOVED***/~/_protobuf/gradido_protobuf
[submodule "dependencies/iroha-ed25519"]
path = dependencies/iroha-ed25519
url = ssh://git@***REMOVED***/~/Forks/iroha-ed25519.git

30
README Normal file
View File

@ -0,0 +1,30 @@
# get dependencies
git submodule update --init --recursive
# build dependencies ed25519
cd dependencies/iroha-ed25519
mkdir build
cd build
# for windows with visual studio 14 2015
# cmake .. -G"Visual Studio 14 2015 Win64" -DEDIMPL=ref10 -DHASH=sha2_sphlib -DRANDOM=bcryptgen -DBUILD=STATIC
# for linux
cmake .. -DEDIMPL=ref10 -DHASH=sha2_sphlib -DRANDOM=bcryptgen -DBUILD=STATIC
make
cd ../../../
cd dependencies/mariadb-connector-c
mkdir build
cd build
cmake ..
cd ../../../
# get more dependencies with conan (need conan from https://conan.io/)
mkdir build && cd build
# conan install .. -s build_type=Debug
conan install ..
# build Makefile with cmake
cmake ..