diff --git a/.gitmodules b/.gitmodules index 91643fa19..2b023d7c6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/README b/README new file mode 100644 index 000000000..2b7f02ef8 --- /dev/null +++ b/README @@ -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 .. +