diff --git a/README.md b/README.md index b36d67a83bf96813c73d14e8d2870e5d24d051d4..f0dfaf0246ff010df196718abbdfb800cbb84369 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 -