diff options
| author | Madhyn <yohann.ribeiro@unifesp.br> | 2026-11-24 22:43:53 -0300 |
|---|---|---|
| committer | Madhyn <yohann.ribeiro@unifesp.br> | 2026-11-24 22:43:53 -0300 |
| commit | d3741102e4760cdff7ebf9ca91510b5d8f5c96f7 (patch) | |
| tree | 5efae7b1995e7dfa4f9c9f8ec8289d99684ae498 /runtime/xma_decoder | |
| parent | 5a5df8e0b6bff458814c934e18f4216e69c40d36 (diff) | |
runtime: accept prebuilt XMA2 decoder via -DLEONIDA_XMA2_DECODER_LIB (BUILD-XMA2-PREBUILT-LIB)
Diffstat (limited to 'runtime/xma_decoder')
| -rw-r--r-- | runtime/xma_decoder/README.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/xma_decoder/README.md b/runtime/xma_decoder/README.md index 67341e60a..e279057be 100644 --- a/runtime/xma_decoder/README.md +++ b/runtime/xma_decoder/README.md | |||
| @@ -26,3 +26,8 @@ The `xma2-decoder` workflow builds and runs the C++ smoke test with MSVC. It lin | |||
| 26 | 26 | ||
| 27 | Without `cargo`, when that build fails, or with the cl.exe fallback of `scripts/build_runtime.ps1`, XMA voices output silence. | 27 | Without `cargo`, when that build fails, or with the cl.exe fallback of `scripts/build_runtime.ps1`, XMA voices output silence. |
| 28 | Use `-DLEONIDA_REQUIRE_XMA2_DECODER=ON` to require the decoder in a CMake build, as the Windows runtime CI does. | 28 | Use `-DLEONIDA_REQUIRE_XMA2_DECODER=ON` to require the decoder in a CMake build, as the Windows runtime CI does. |
| 29 | |||
| 30 | To link an already-built `leonida_xma2_decoder.lib` without invoking `cargo` during CMake configure (for offline builds | ||
| 31 | or Linux cross-builds whose distribution `rustc` omits the `x86_64-pc-windows-msvc` standard library), pass | ||
| 32 | `-DLEONIDA_XMA2_DECODER_LIB=<path>`. A value that does not name an existing file fails configure instead of falling | ||
| 33 | back silently to muted XMA voices. | ||