Fix print file list

pull/602/head
Hennadii Chernyshchyk 2021-08-31 18:29:13 +03:00 committed by Bastiaan Olij
parent b7f03837a2
commit e8030ed1cf
3 changed files with 3755 additions and 1575 deletions

View File

@ -27,6 +27,9 @@ def print_file_list(api_filepath, output_dir, headers=False, sources=False):
print(str(source_filename.as_posix()), end=end) print(str(source_filename.as_posix()), end=end)
for engine_class in api["classes"]: for engine_class in api["classes"]:
# TODO: Properly setup this singleton since it conflicts with ClassDB in the bindings.
if engine_class["name"] == "ClassDB":
continue
header_filename = include_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".hpp") header_filename = include_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".hpp")
source_filename = source_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".cpp") source_filename = source_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".cpp")
if headers: if headers:

View File

@ -2,3 +2,5 @@
The `godot-headers` repository will eventually be updated to latest master but The `godot-headers` repository will eventually be updated to latest master but
for now use this hardcoded copy. for now use this hardcoded copy.
Based on 04c64b59a12a0ea9a2dfa153c630693c7391827d

File diff suppressed because it is too large Load Diff