pull/3/head
godotg 2024-03-15 15:16:20 +08:00
parent a5dd0e810f
commit 0f5fd83bfb
20 changed files with 10 additions and 10 deletions

View File

@ -38,9 +38,9 @@ pip config set global.proxy http://127.0.0.1:10809
- 官网下载Visual Studio 2019然后选择C++编译工具安装就行
- 如果不想安装VS那么使用C++编译工具MinGW依然可以
![Image text](image/vs01.JPG)
![Image text](image/vs02.JPG)
![Image text](image/vs03.JPG)
![Image text](image/compile/vs01.JPG)
![Image text](image/compile/vs02.JPG)
![Image text](image/compile/vs03.JPG)
# MinGW-w64
@ -75,7 +75,7 @@ target=debug
```
- scons -j15 platform=windows target=debug tools=no
![Image text](image/vs05.JPG)
![Image text](image/compile/vs05.JPG)
```
tools编辑器选项godot里所有带有tools的是带编辑器的不带tools是模板
@ -86,21 +86,21 @@ tools可以在debug、release或者release_debug三种都可以默认release
完成后就可以通过export导出项目或者将新增加的内容打包为pck作为dlc使用了
```
![Image text](image/vs09.JPG)
![Image text](image/compile/vs09.JPG)
- scons -j15 platform=windows target=release tools=no
![Image text](image/vs06.JPG)
![Image text](image/compile/vs06.JPG)
```
opt是optimized production template的缩写是优化过后的模板这个打包更加的耗时
```
- scons -j15 platform=windows target=debug tools=yes 等价于scons -j15 platform=windows
![Image text](image/vs07.JPG)
![Image text](image/compile/vs07.JPG)
- scons -j15 platform=windows target=release tools=yes
![Image text](image/vs08.JPG)
![Image text](image/compile/vs08.JPG)
- 其它编译参数
@ -133,7 +133,7 @@ scons -j15 platform=android use_mingw=yes target=release android_arch=arm64v8
- 再使用Visual Studio双击打开sln解决方案
- 设置调试参数
![Image text](image/vs12.JPG)
![Image text](image/compile/vs12.JPG)
# 使用Clion调试Godot的源代码

View File

@ -96,7 +96,7 @@ scons -j15 platform=android use_mingw=yes target=release android_arch=arm64v8
- 再使用Visual Studio双击打开sln解决方案
- 设置调试参数
![Image text](image/vs12.JPG)
![Image text](image/compile/vs12.JPG)
# 使用Clion调试Godot的源代码

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 485 KiB

After

Width:  |  Height:  |  Size: 485 KiB

View File

Before

Width:  |  Height:  |  Size: 244 KiB

After

Width:  |  Height:  |  Size: 244 KiB

View File

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

View File

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 83 KiB

View File

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 109 KiB

View File

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 91 KiB

View File

Before

Width:  |  Height:  |  Size: 355 KiB

After

Width:  |  Height:  |  Size: 355 KiB

View File

Before

Width:  |  Height:  |  Size: 547 KiB

After

Width:  |  Height:  |  Size: 547 KiB