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