1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Windows: Migrate godot.manifest to platform/windows

• Ensure file is included as proper dependency

(cherry picked from commit d48f255074)
This commit is contained in:
Thaddeus Crews
2025-09-25 09:08:10 -05:00
parent 1f1017a47f
commit c3fb4d9d6f
4 changed files with 10 additions and 1 deletions

View File

@@ -58,6 +58,10 @@ sources += res_obj
prog = env.add_program("#bin/godot", sources, PROGSUFFIX=env["PROGSUFFIX"]) prog = env.add_program("#bin/godot", sources, PROGSUFFIX=env["PROGSUFFIX"])
arrange_program_clean(prog) arrange_program_clean(prog)
env.Depends(prog, "godot.manifest")
if env.msvc:
env.Depends(prog, "godot.natvis")
# Build console wrapper app. # Build console wrapper app.
if env["windows_subsystem"] == "gui": if env["windows_subsystem"] == "gui":
env_wrap = env.Clone() env_wrap = env.Clone()

View File

@@ -5,7 +5,7 @@
#endif #endif
GODOT_ICON ICON platform/windows/godot.ico GODOT_ICON ICON platform/windows/godot.ico
1 RT_MANIFEST "godot.manifest" 1 RT_MANIFEST "platform/windows/godot.manifest"
1 VERSIONINFO 1 VERSIONINFO
FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0 FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0

View File

@@ -1,6 +1,11 @@
#include "core/version.h" #include "core/version.h"
#ifndef RT_MANIFEST
#define RT_MANIFEST 24
#endif
GODOT_ICON ICON platform/windows/godot_console.ico GODOT_ICON ICON platform/windows/godot_console.ico
1 RT_MANIFEST "platform/windows/godot.manifest"
1 VERSIONINFO 1 VERSIONINFO
FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0 FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0