Rename godot-headers to gdextension, move header to top folder

Changes the `<godot/gdextension_interface.h>` include to simply
`<gdextension_interface.h>`.

Refactor and better document the SCons and CMake logic around setting
the paths to the header and API JSON file.
This commit is contained in:
Rémi Verschelde
2022-12-14 00:40:17 +01:00
parent 1e8eb1c1f2
commit bab247dcb6
22 changed files with 68 additions and 50 deletions

View File

@@ -8,7 +8,7 @@ sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", ".."))
from binding_generator import get_file_list, generate_bindings
api_filepath = "godot-headers/extension_api.json"
api_filepath = "gdextension/extension_api.json"
bits = "64"
double = "float"
output_dir = "self_test"