Skip to content

Commit

Permalink
Merge pull request #1258 from Repiteo/standalone-gdextension_dir
Browse files Browse the repository at this point in the history
Let `gdextension_dir` function as standalone argument
  • Loading branch information
dsnopek authored Oct 19, 2023
2 parents 64eac01 + 7a5cbca commit 5c4a7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/godotcpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("."),
[
Expand Down

0 comments on commit 5c4a7dc

Please sign in to comment.