You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/DEVELOPMENT.md
+43-4Lines changed: 43 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,51 @@
5
5
## 系统要求
6
6
7
7
- Windows 10 或 Windows 11
8
-
- Go 1.24+
8
+
- Go 1.26+
9
9
- Visual Studio 2017 或更高版本(含 C++ 桌面开发工具)
10
-
- CMake 3.15+
11
-
- Wails v2 CLI
10
+
- CMake 3.15+(参见[CMake](#CMake))
11
+
- Wails v2.12 CLI
12
12
- Node.js + pnpm(前端构建)
13
-
- PowerShell(构建脚本)
13
+
- PowerShell 7+(构建脚本)
14
+
- .NET SDK 10+ (Portable版本)
15
+
16
+
### CMake
17
+
18
+
通过 Visual Studio 2017及以上版本下载 的C++桌面端工作负载,包含CMake和其他必要的C++工具链。这个负载中的 CMake 为微软定制版,默认查找 VS 生成器与编译器,区别于 CMake 官方版本默认使用 NMake+GCC。请注意操作系统的环境变量PATH,靠前的CMake路径会被优先使用,可在终端使用以下命令确认CMake版本
19
+
20
+
```
21
+
cmake --version
22
+
```
23
+
24
+
示例输出:
25
+
26
+
```
27
+
cmake version 4.3.1-msvc1
28
+
29
+
CMake suite maintained and supported by Kitware (kitware.com/cmake).
30
+
```
31
+
32
+
使用以下命令确认默认生成器与可用生成器:
33
+
34
+
```
35
+
cmake -G
36
+
```
37
+
38
+
以下为示例输出,开头带星号的是默认生成器。由于Visual Studio 内的终端会自动设置终端内的环境变量,因此VS终端的输出可能与其他终端不同(例如 VS Code终端或者在文件资源管理器打开的终端):
39
+
40
+
```
41
+
Generators
42
+
43
+
*Visual Studio 17 2022 = Generates Visual Studio 2022 project files.
44
+
Visual Studio 16 2019 = Generates Visual Studio 2019 project files.
45
+
Visual Studio 15 2017 = Generates Visual Studio 2017 project files.
46
+
Ninja = Generates build.ninja files.
47
+
Unix Makefiles = Generates standard UNIX makefiles.
48
+
```
49
+
50
+
### Power Shell
51
+
52
+
Windows内置的 PowerShell 通常是 Power Shell 5,请前往[官网](https://learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-windows?view=powershell-7.6#msi)下载 Power Shell 7
0 commit comments