16 lines
350 B
Markdown
16 lines
350 B
Markdown
This is an example of adding the wolfSSL library as a subdirectory to a project
|
|
and using cmake to build.
|
|
|
|
## Steps to build:
|
|
|
|
```
|
|
# clone or download the wolfssl bundle and put it in the subdirectory wolfssl
|
|
git clone https://github.com/wolfssl/wolfssl
|
|
mkdir build
|
|
cd build
|
|
cmake .. -DCMAKE_C_FLAGS=-I../include/
|
|
make
|
|
./hash example_string
|
|
```
|
|
|