mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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:
parent
1f1017a47f
commit
c3fb4d9d6f
4 changed files with 10 additions and 1 deletions
|
|
@ -58,6 +58,10 @@ sources += res_obj
|
|||
prog = env.add_program("#bin/godot", sources, PROGSUFFIX=env["PROGSUFFIX"])
|
||||
arrange_program_clean(prog)
|
||||
|
||||
env.Depends(prog, "godot.manifest")
|
||||
if env.msvc:
|
||||
env.Depends(prog, "godot.natvis")
|
||||
|
||||
# Build console wrapper app.
|
||||
if env["windows_subsystem"] == "gui":
|
||||
env_wrap = env.Clone()
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#endif
|
||||
|
||||
GODOT_ICON ICON platform/windows/godot.ico
|
||||
1 RT_MANIFEST "godot.manifest"
|
||||
1 RT_MANIFEST "platform/windows/godot.manifest"
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
|
||||
|
|
|
|||
|
|
@ -1,6 +1,11 @@
|
|||
#include "core/version.h"
|
||||
|
||||
#ifndef RT_MANIFEST
|
||||
#define RT_MANIFEST 24
|
||||
#endif
|
||||
|
||||
GODOT_ICON ICON platform/windows/godot_console.ico
|
||||
1 RT_MANIFEST "platform/windows/godot.manifest"
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue