Skip to content

Commit c231e3b

Browse files
committed
add note about using emcmake with Emscripten in specific systems section
1 parent 968290c commit c231e3b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,18 @@ LibreSSL builds against relatively recent versions of [MinGW-w64](https://www.mi
159159
confused with the original mingw.org project. MinGW-w64 3.2 or later
160160
should work. See [README.mingw.md](README.mingw.md) for more information.
161161

162+
### Emscripten
163+
164+
When configuring LibreSSL for use with Emscripten, make sure to prepend
165+
`emcmake` to your `cmake` configuration command. Once configured, you can
166+
proceed with your usual `cmake` commands. For example:
167+
168+
```sh
169+
emcmake cmake . -Bbuild
170+
cmake --build build --config Release
171+
ctest --test-dir build -C Release --output-on-failure
172+
```
173+
162174
# Using LibreSSL
163175

164176
## CMake

0 commit comments

Comments
 (0)