mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 15:15:28 +00:00
Added instructions to build with Makefile
This commit is contained in:
@ -24,6 +24,7 @@ Submodules:
|
|||||||
- libjuice: https://github.com/paullouisageneau/libjuice
|
- libjuice: https://github.com/paullouisageneau/libjuice
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
### Building with CMake (preferred)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ git submodule update --init --recursive
|
$ git submodule update --init --recursive
|
||||||
@ -33,6 +34,13 @@ $ cmake -DUSE_JUICE=1 -DUSE_GNUTLS=1 ..
|
|||||||
$ make
|
$ make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Building directly with Make
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ git submodule update --init --recursive
|
||||||
|
$ make USE_JUICE=1 USE_GNUTLS=1
|
||||||
|
```
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
In the following example, note the callbacks are called in another thread.
|
In the following example, note the callbacks are called in another thread.
|
||||||
|
Reference in New Issue
Block a user