mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-03 18:09:13 +03:00
Bugfix. Project generation now respects the given 'headers_dir' start parameter.
This commit is contained in:
@@ -361,7 +361,7 @@ json_api_file = ''
|
|||||||
if 'custom_api_file' in env:
|
if 'custom_api_file' in env:
|
||||||
json_api_file = env['custom_api_file']
|
json_api_file = env['custom_api_file']
|
||||||
else:
|
else:
|
||||||
json_api_file = os.path.join(os.getcwd(), 'godot_headers', 'api.json')
|
json_api_file = os.path.join(os.getcwd(), env['headers_dir'], 'api.json')
|
||||||
|
|
||||||
if env['generate_bindings']:
|
if env['generate_bindings']:
|
||||||
# Actually create the bindings here
|
# Actually create the bindings here
|
||||||
|
|||||||
Reference in New Issue
Block a user