From 948a617d51a29117d15100946c451020d3853fd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrienberaud@gmail.com> Date: Wed, 9 Sep 2015 14:51:53 -0400 Subject: [PATCH] add build instructions for cmake --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index b36d67a8..f0dfaf02 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,8 @@ int main() How-to build and install - +### Using autotools + ```bash # clone the repo git clone https://github.com/savoirfairelinux/opendht.git @@ -72,6 +74,19 @@ cd opendht make sudo make install ``` +### Using cmake + +```bash +# clone the repo +git clone https://github.com/savoirfairelinux/opendht.git + +# build and install +cd opendht +mkdir build && cd build +cmake -DOPENDHT_PYTHON=ON .. +make -j +sudo make install +``` How-to build a simple client app - -- GitLab