mirror of
https://github.com/nishiowo/nishbox
synced 2025-04-21 04:04:39 +00:00
fixing
This commit is contained in:
parent
a2fdce14f4
commit
e443672347
@ -49,7 +49,6 @@ newoption({
|
||||
|
||||
function gf_default_stuffs()
|
||||
filter({})
|
||||
characterset("MBCS")
|
||||
defines({
|
||||
"HAVE_STDARG_H=1",
|
||||
"dIDEDOUBLE",
|
||||
@ -180,20 +179,24 @@ function gf_link_stuffs(cond)
|
||||
end
|
||||
|
||||
function gf_msvc_filters()
|
||||
filter({})
|
||||
characterset("MBCS")
|
||||
for k,rt in ipairs({"Debug", "Release"}) do
|
||||
filter({
|
||||
"options:cc=msc",
|
||||
"options:engine=dynamic",
|
||||
"configurations:" .. rt
|
||||
})
|
||||
runtime(rt)
|
||||
buildoptions({"/MT"})
|
||||
runtime("Release")
|
||||
staticruntime("On")
|
||||
filter({
|
||||
"options:cc=msc",
|
||||
"options:engine=static",
|
||||
"configurations:" .. rt
|
||||
})
|
||||
runtime(rt)
|
||||
buildoptions({"/MT"})
|
||||
runtime("Release")
|
||||
staticruntime("On")
|
||||
end
|
||||
end
|
||||
|
10
premake5.lua
10
premake5.lua
@ -34,22 +34,24 @@ newaction({
|
||||
})
|
||||
|
||||
function msvc_filters()
|
||||
filter({})
|
||||
characterset("MBCS")
|
||||
for k,rt in ipairs({"Debug", "Release"}) do
|
||||
filter({
|
||||
"options:cc=msc",
|
||||
"options:engine=dynamic",
|
||||
"configurations:" .. rt
|
||||
})
|
||||
runtime(rt)
|
||||
characterset("MBCS")
|
||||
buildoptions({"/MT"})
|
||||
runtime("Release")
|
||||
staticruntime("On")
|
||||
filter({
|
||||
"options:cc=msc",
|
||||
"options:engine=static",
|
||||
"configurations:" .. rt
|
||||
})
|
||||
runtime(rt)
|
||||
characterset("MBCS")
|
||||
buildoptions({"/MT"})
|
||||
runtime("Release")
|
||||
staticruntime("On")
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user