From c231e3bc82370637c0bd17300b7c6fc66bd0b2fd Mon Sep 17 00:00:00 2001 From: MoustaphaSaad Date: Thu, 20 Jun 2024 21:27:12 +0300 Subject: add note about using emcmake with Emscripten in specific systems section --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 725df18..598188c 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,18 @@ LibreSSL builds against relatively recent versions of [MinGW-w64](https://www.mi confused with the original mingw.org project. MinGW-w64 3.2 or later should work. See [README.mingw.md](README.mingw.md) for more information. +### Emscripten + +When configuring LibreSSL for use with Emscripten, make sure to prepend +`emcmake` to your `cmake` configuration command. Once configured, you can +proceed with your usual `cmake` commands. For example: + +```sh +emcmake cmake . -Bbuild +cmake --build build --config Release +ctest --test-dir build -C Release --output-on-failure +``` + # Using LibreSSL ## CMake -- cgit v1.2.3-55-g6feb