diff --git a/deps/submodules/minirtc b/deps/submodules/minirtc index 9313ae8b..531a1924 160000 --- a/deps/submodules/minirtc +++ b/deps/submodules/minirtc @@ -1 +1 @@ -Subproject commit 9313ae8b926daee55ebdcb9a330154f3c923097e +Subproject commit 531a19249924aef40312dbf515b5717ce5bcbd0e diff --git a/docs/BUILD.md b/docs/BUILD.md index e6af16b7..b5e346f0 100644 --- a/docs/BUILD.md +++ b/docs/BUILD.md @@ -11,7 +11,7 @@ ## Windows -安装 Visual Studio 2022 的“使用 C++ 的桌面开发”工作负载及 Windows SDK,并安装 Xmake。在开发者 PowerShell 中执行: +安装 Visual Studio 2022 的“使用 C++ 的桌面开发”工作负载、Windows SDK 和“适用于 Windows 的 C++ Clang 编译器”组件,并安装 Xmake。Windows x64 的 libyuv 使用 clang-cl 编译,以启用 SIMD 图像转换和缩放;主程序仍使用 MSVC。在开发者 PowerShell 中执行: ```powershell git clone --recurse-submodules https://github.com/kunkundi/crossdesk.git @@ -21,6 +21,8 @@ xmake b -vy crossdesk xmake r crossdesk ``` +性能复测应使用 `release`;`debug` 保留调试信息并关闭主程序编译优化。 + 安装包还使用 NSIS,需将仓库中的 [nsProcess.dll](../apps/desktop/scripts/windows/nsProcess.dll) 放入 NSIS 的 `Plugins/x86-unicode` 目录,并确保 `makensis` 在 `PATH` 中。完成 Release 编译后运行: ```powershell diff --git a/docs/BUILD_EN.md b/docs/BUILD_EN.md index ad817276..ce5da9ae 100644 --- a/docs/BUILD_EN.md +++ b/docs/BUILD_EN.md @@ -11,7 +11,7 @@ After cloning, run build and packaging commands from the repository root. The [X ## Windows -Install Visual Studio 2022 with the **Desktop development with C++** workload and Windows SDK, plus Xmake. In a developer PowerShell, run: +Install Visual Studio 2022 with the **Desktop development with C++** workload, Windows SDK, and **C++ Clang Compiler for Windows** component, plus Xmake. Windows x64 builds use clang-cl for libyuv to enable SIMD conversion and scaling; the application still uses MSVC. In a developer PowerShell, run: ```powershell git clone --recurse-submodules https://github.com/kunkundi/crossdesk.git @@ -21,6 +21,8 @@ xmake b -vy crossdesk xmake r crossdesk ``` +Use `release` for performance measurements; `debug` keeps symbols and disables application compiler optimizations. + Installer packaging also uses NSIS. Copy the repository's [nsProcess.dll](../apps/desktop/scripts/windows/nsProcess.dll) into NSIS's `Plugins/x86-unicode` directory and ensure `makensis` is on `PATH`. After building Release, run: ```powershell