Skip to content

Commit

Permalink
Modified to support proper exporting of file names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bioblaze committed Oct 7, 2024
1 parent c44cc71 commit 04b7343
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion platform/linuxbsd/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if env["dbus"]:
if env["use_sowrap"]:
common_linuxbsd.append("dbus-so_wrap.c")

prog = env.add_program("#bin/godot", ["godot_linuxbsd.cpp"] + common_linuxbsd)
prog = env.add_program("#bin/redot", ["godot_linuxbsd.cpp"] + common_linuxbsd)

if env["debug_symbols"] and env["separate_debug_symbols"]:
env.AddPostAction(prog, env.Run(platform_linuxbsd_builders.make_debug_linuxbsd))
2 changes: 1 addition & 1 deletion platform/macos/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ files = [
"gl_manager_macos_legacy.mm",
]

prog = env.add_program("#bin/godot", files)
prog = env.add_program("#bin/redot", files)

if env["debug_symbols"] and env["separate_debug_symbols"]:
env.AddPostAction(prog, env.Run(platform_macos_builders.make_debug_macos))
Expand Down
2 changes: 1 addition & 1 deletion platform/web/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if env["dlink_enabled"]:
sys = sys_env.Program(build_targets, ["web_runtime.cpp"])

# The side library, containing all Godot code.
wasm = env.add_program("#bin/godot.side${PROGSUFFIX}.wasm", web_files)
wasm = env.add_program("#bin/redot.side${PROGSUFFIX}.wasm", web_files)
build = sys + [wasm[0]]
else:
# We use IDBFS. Since Emscripten 1.39.1 it needs to be linked explicitly.
Expand Down
4 changes: 2 additions & 2 deletions platform/windows/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ env.Depends(res_obj, "#core/version_generated.gen.h")
env.add_source_files(sources, common_win)
sources += res_obj

prog = env.add_program("#bin/godot", sources, PROGSUFFIX=env["PROGSUFFIX"])
prog = env.add_program("#bin/redot", sources, PROGSUFFIX=env["PROGSUFFIX"])
arrange_program_clean(prog)

# Build console wrapper app.
Expand All @@ -74,7 +74,7 @@ if env["windows_subsystem"] == "gui":
env_wrap.Append(LINKFLAGS=["-Wl,--subsystem,console"])
env_wrap.Append(LIBS=["version"])

prog_wrap = env_wrap.add_program("#bin/godot", common_win_wrap + res_wrap_obj, PROGSUFFIX=env["PROGSUFFIX_WRAP"])
prog_wrap = env_wrap.add_program("#bin/redot", common_win_wrap + res_wrap_obj, PROGSUFFIX=env["PROGSUFFIX_WRAP"])
arrange_program_clean(prog_wrap)
env_wrap.Depends(prog_wrap, prog)
sources += common_win_wrap + res_wrap_obj
Expand Down

0 comments on commit 04b7343

Please sign in to comment.