diff options
author | David Snopek <dsnopek@gmail.com> | 2023-10-19 09:06:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-19 09:06:12 -0500 |
commit | 5c4a7dc7b2ed39e3ae08d21024c33f0aaa4068d8 (patch) | |
tree | 87e6e1c578a0f54ab12f721bce1fa54b5db3d55d /tools/godotcpp.py | |
parent | 64eac01d04cd6ced10ad72dece92fdc971161d89 (diff) | |
parent | 7a5cbcac21a96fcdd1a7cea0e4f81bca99d4df7a (diff) | |
download | redot-cpp-5c4a7dc7b2ed39e3ae08d21024c33f0aaa4068d8.tar.gz |
Merge pull request #1258 from Repiteo/standalone-gdextension_dir
Let `gdextension_dir` function as standalone argument
Diffstat (limited to 'tools/godotcpp.py')
-rw-r--r-- | tools/godotcpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/godotcpp.py b/tools/godotcpp.py index 69a4652..6b44272 100644 --- a/tools/godotcpp.py +++ b/tools/godotcpp.py @@ -284,8 +284,8 @@ def generate(env): def _godot_cpp(env): - api_file = normalize_path(env.get("custom_api_file", env.File("gdextension/extension_api.json").abspath), env) extension_dir = normalize_path(env.get("gdextension_dir", env.Dir("gdextension").abspath), env) + api_file = normalize_path(env.get("custom_api_file", env.File(extension_dir + "/extension_api.json").abspath), env) bindings = env.GodotCPPBindings( env.Dir("."), [ |