diff options
| author | MoustaphaSaad <moustapha.saad.abdelhamed@gmail.com> | 2024-06-20 21:27:12 +0300 |
|---|---|---|
| committer | MoustaphaSaad <moustapha.saad.abdelhamed@gmail.com> | 2024-06-20 21:29:18 +0300 |
| commit | c231e3bc82370637c0bd17300b7c6fc66bd0b2fd (patch) | |
| tree | 6476edff8c332dcefc19139d5d6a27476ee71f41 | |
| parent | 968290c69731cd34bfa82debc8e4ab71d2f63006 (diff) | |
| download | portable-c231e3bc82370637c0bd17300b7c6fc66bd0b2fd.tar.gz portable-c231e3bc82370637c0bd17300b7c6fc66bd0b2fd.tar.bz2 portable-c231e3bc82370637c0bd17300b7c6fc66bd0b2fd.zip | |
add note about using emcmake with Emscripten in specific systems section
| -rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -159,6 +159,18 @@ LibreSSL builds against relatively recent versions of [MinGW-w64](https://www.mi | |||
| 159 | confused with the original mingw.org project. MinGW-w64 3.2 or later | 159 | confused with the original mingw.org project. MinGW-w64 3.2 or later |
| 160 | should work. See [README.mingw.md](README.mingw.md) for more information. | 160 | should work. See [README.mingw.md](README.mingw.md) for more information. |
| 161 | 161 | ||
| 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 | |||
| 162 | # Using LibreSSL | 174 | # Using LibreSSL |
| 163 | 175 | ||
| 164 | ## CMake | 176 | ## CMake |
