This commit is contained in:
NishiOwO 2025-04-12 12:04:16 +09:00
parent 2505faa0fd
commit ee09444d05
No known key found for this signature in database
GPG Key ID: 27EF69B208EB9343
2 changed files with 7 additions and 0 deletions

View File

@ -190,6 +190,9 @@ function gf_msvc_filters()
linkoptions({"/MANIFEST"})
runtime(rt)
staticruntime("Off")
postbuildcommands({
"mt -manifest $(TargetDir)$(TargetName).dll.manifest -outputresource:$(TargetDir)$(TargetName).dll"
})
filter({
"options:cc=msc",
"options:engine=static",

View File

@ -54,6 +54,10 @@ function msvc_filters()
runtime(rt)
staticruntime("On")
end
filter("options:cc=msc")
postbuildcommands({
"mt -manifest $(TargetDir)$(TargetName).exe.manifest -outputresource:$(TargetDir)$(TargetName).exe"
})
end
include "engine"