Windows: Migrate godot.manifest to platform/windows
• Ensure file is included as proper dependency
This commit is contained in:
@ -79,6 +79,7 @@ if env["accesskit"] and not env.msvc:
|
||||
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")
|
||||
|
||||
|
||||
18
platform/windows/godot.manifest
Normal file
18
platform/windows/godot.manifest
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
|
||||
<ws2:longPathAware>true</ws2:longPathAware>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type='win32'
|
||||
name='Microsoft.Windows.Common-Controls'
|
||||
version='6.0.0.0' processorArchitecture='*'
|
||||
publicKeyToken='6595b64144ccf1df'
|
||||
language='*'/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</assembly>
|
||||
@ -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 GODOT_VERSION_MAJOR,GODOT_VERSION_MINOR,GODOT_VERSION_PATCH,0
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
#endif
|
||||
|
||||
GODOT_ICON ICON platform/windows/godot_console.ico
|
||||
1 RT_MANIFEST "godot.manifest"
|
||||
1 RT_MANIFEST "platform/windows/godot.manifest"
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION GODOT_VERSION_MAJOR,GODOT_VERSION_MINOR,GODOT_VERSION_PATCH,0
|
||||
|
||||
Reference in New Issue
Block a user