update README

This commit is contained in:
2024-08-11 13:58:35 +02:00
parent a7fcaa95fe
commit 1d3d7b07a0

View File

@@ -1,6 +1,8 @@
This project is used to compile a GDExtension (godot engine cpp extension), and try to use xmake to manage the project. This project is used to compile a GDExtension (godot engine cpp extension), and try to use xmake to manage the project.
Forked from [Github](https://github.com/chaosddp/gdextension-cpp-xmake-template)
## Install xmake ## Install xmake
Install xmake from [here](https://xmake.io/#/guide/installation). Install xmake from [here](https://xmake.io/#/guide/installation).
@@ -57,4 +59,4 @@ xmake ext-class -n MySprite2D -b Sprite2D -s myexample1 -d sample
For better support in vscode, you can use command "Xmake: UpdateIntellisense" to generate *compile_commands.json*, then update "compileCommands" field in *c_cpp_properties.json* to point to the file. For better support in vscode, you can use command "Xmake: UpdateIntellisense" to generate *compile_commands.json*, then update "compileCommands" field in *c_cpp_properties.json* to point to the file.
NOTE: not tested on other platforms execept windows. NOTE: not tested on other platforms except windows and linux.