From 56adde55d08d5c8ab3fe5983fa10b2fd836e8f9e Mon Sep 17 00:00:00 2001 From: MistEO Date: Tue, 9 Sep 2025 00:31:10 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=BE=AE=E8=B0=83=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/zh-cn/develop/development.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/zh-cn/develop/development.md b/docs/zh-cn/develop/development.md index 0e774dc31f..931127d563 100644 --- a/docs/zh-cn/develop/development.md +++ b/docs/zh-cn/develop/development.md @@ -39,22 +39,22 @@ icon: iconoir:developer 5. 配置编程环境 + - 下载并安装 `CMake` - 下载并安装 `Visual Studio 2022 community`, 安装的时候需要选中 `基于 C++ 的桌面开发` 和 `.NET 桌面开发`。 - - 下载并安装 `cmake` 6. 执行 cmake 项目配置 ```cmd mkdir -p build - cmake -B build + cmake -G "Visual Studio 17 2022" -B build ``` 6. 双击打开 `build/MAA.sln` 文件,Visual Studio 会自动加载整个项目。 7. 设置 VS - - VS 上方配置选择 `Debug` `x64` (如果编译 Release 包 或 ARM 平台,请忽略这步) - - 右键 `MaaWpfGui` - 属性 - 调试 - 启用本地调试(这样就能把断点挂到 C++ Core 那边了) + - VS 上方配置选择 `Debug` `x64` - 右键 `MaaWpfGui` - 设为启动项目 + - 按 F5 运行 8. 到这里,你就可以愉快地 ~~瞎 JB 改~~ 发电了 9. 开发过程中,每一定数量,记得提交一个 Commit, 别忘了写上 Message