diff options
| author | Nickolai Korshunov <n.a.korshunov@gmail.com> | 2018-02-18 15:14:56 +0300 |
|---|---|---|
| committer | Nickolai Korshunov <n.a.korshunov@gmail.com> | 2018-02-18 15:14:56 +0300 |
| commit | 0fbfe5dd1215915fdb48efcb5ebfe8449bbaa5e6 (patch) | |
| tree | af6bb1a1bd1182ec6c55eb6826bca35e471d3d9e | |
| parent | 00e1b47c6fb96ef4ef7e449d06a60008fab7051f (diff) | |
| download | redot-cpp-0fbfe5dd1215915fdb48efcb5ebfe8449bbaa5e6.tar.gz | |
Json bindings are generated in cwd
| -rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ add_sources(sources, "src/core") if ARGUMENTS.get("generate_bindings", "no") == "yes": # TODO Generating the API should be done only if the Godot build is more recent than the JSON file - json_api_file = 'godot_api.json' + json_api_file = os.path.join(os.getcwd(), 'godot_api.json') subprocess.call([os.path.expanduser(godot_bin_path), '--gdnative-generate-json-api', json_api_file]) |
