Improve outdated README files and improve simple C++ demo

This commit is contained in:
Aaron Franke
2021-07-08 21:38:28 -04:00
parent c4f925c048
commit f36845c2ee
13 changed files with 94 additions and 75 deletions

21
c/README.md Normal file
View File

@@ -0,0 +1,21 @@
# C demos
These demos show how to use the GDNative C bindings.
Dependencies:
* You need [Godot headers](https://github.com/godotengine/godot-headers),
this is now a Git submodule of this repo.
* `clang`, `gcc`, or any decent C compiler that's C11 compatible.
## Compiling
For each of the C demos, you can use SCons to compile the library:
```
scons platform=PLATFORM
```
Where PLATFORM is: `windows`, `linuxbsd`, or `macos`.
This creates the file `libsimple` in the respective
subfolders in the `project/gdnative` directory.