diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-03-30 15:07:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 15:07:00 +0200 |
commit | b383484e445b1554c811556181a7815e0308fd62 (patch) | |
tree | dc038e9d922bc93b2673c52f59fc1eaf862075e1 /platform/windows/SCsub | |
parent | 0168709978154a89f137b44f33647e5d28a46250 (diff) | |
parent | 3644036fd3d8678ac44695cc49ae63c4aaeb1b97 (diff) |
Merge pull request #37421 from akien-mga/python-format-black
SCons: Format buildsystem files with psf/black
Diffstat (limited to 'platform/windows/SCsub')
-rw-r--r-- | platform/windows/SCsub | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/windows/SCsub b/platform/windows/SCsub index 89ee4dfa7a..daffe59f34 100644 --- a/platform/windows/SCsub +++ b/platform/windows/SCsub @@ -1,6 +1,6 @@ #!/usr/bin/env python -Import('env') +Import("env") import os from platform_methods import run_in_subprocess @@ -15,17 +15,17 @@ common_win = [ "joypad_windows.cpp", "windows_terminal_logger.cpp", "vulkan_context_win.cpp", - "context_gl_windows.cpp" + "context_gl_windows.cpp", ] -res_file = 'godot_res.rc' +res_file = "godot_res.rc" res_target = "godot_res" + env["OBJSUFFIX"] res_obj = env.RES(res_target, res_file) -prog = env.add_program('#bin/godot', common_win + res_obj, PROGSUFFIX=env["PROGSUFFIX"]) +prog = env.add_program("#bin/godot", common_win + res_obj, PROGSUFFIX=env["PROGSUFFIX"]) # Microsoft Visual Studio Project Generation -if env['vsproj']: +if env["vsproj"]: env.vs_srcs = env.vs_srcs + ["platform/windows/" + res_file] env.vs_srcs = env.vs_srcs + ["platform/windows/godot.natvis"] for x in common_win: |