Files
gdnative-demos/cpp/README.md
2021-07-12 00:33:48 -04:00

24 lines
640 B
Markdown

# C++ demos
These demos show how to use the GDNative C++ bindings.
Language: [GDNative C++](https://docs.godotengine.org/en/latest/tutorials/scripting/gdnative/index.html)
Dependencies:
* You need [godot-cpp](https://github.com/godotengine/godot-cpp),
this is now a Git submodule of this repo.
* `clang`, `gcc`, or any decent C++ compiler that's C++14 compatible.
## Compiling
For each of the C++ demos, you can use SCons to compile the library:
```
scons platform=PLATFORM
```
Where PLATFORM is: `windows`, `linux`, or `osx`.
This creates the file `libsimple` in the respective
subfolders in the `project/gdnative` directory.