Skip to content
Snippets Groups Projects
Commit 948a617d authored by Adrien Béraud's avatar Adrien Béraud
Browse files

add build instructions for cmake

parent e9e3fd69
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,8 @@ int main() ...@@ -62,6 +62,8 @@ int main()
How-to build and install How-to build and install
- -
### Using autotools
```bash ```bash
# clone the repo # clone the repo
git clone https://github.com/savoirfairelinux/opendht.git git clone https://github.com/savoirfairelinux/opendht.git
...@@ -72,6 +74,19 @@ cd opendht ...@@ -72,6 +74,19 @@ cd opendht
make make
sudo make install 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 How-to build a simple client app
- -
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment