|
@@ -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.
|