Fixing checked build.
This commit is contained in:
parent
8272beb8d2
commit
69b58cf189
|
@ -45,6 +45,10 @@ filter("configurations:Debug")
|
||||||
"_NO_DEBUG_HEAP=1",
|
"_NO_DEBUG_HEAP=1",
|
||||||
})
|
})
|
||||||
runtime("Release")
|
runtime("Release")
|
||||||
|
filter({"configurations:Debug", "platforms:Windows"})
|
||||||
|
linkoptions({
|
||||||
|
"/NODEFAULTLIB:MSVCRTD",
|
||||||
|
})
|
||||||
|
|
||||||
filter("configurations:Release")
|
filter("configurations:Release")
|
||||||
runtime("Release")
|
runtime("Release")
|
||||||
|
@ -57,6 +61,10 @@ filter("configurations:Release")
|
||||||
"LinkTimeOptimization",
|
"LinkTimeOptimization",
|
||||||
})
|
})
|
||||||
runtime("Release")
|
runtime("Release")
|
||||||
|
filter({"configurations:Release", "platforms:Windows"})
|
||||||
|
linkoptions({
|
||||||
|
"/NODEFAULTLIB:MSVCRTD",
|
||||||
|
})
|
||||||
|
|
||||||
filter("platforms:Linux")
|
filter("platforms:Linux")
|
||||||
system("linux")
|
system("linux")
|
||||||
|
@ -96,7 +104,6 @@ filter("platforms:Windows")
|
||||||
linkoptions({
|
linkoptions({
|
||||||
"/ignore:4006", -- Ignores complaints about empty obj files.
|
"/ignore:4006", -- Ignores complaints about empty obj files.
|
||||||
"/ignore:4221",
|
"/ignore:4221",
|
||||||
"/NODEFAULTLIB:MSVCRTD"
|
|
||||||
})
|
})
|
||||||
links({
|
links({
|
||||||
"ntdll",
|
"ntdll",
|
||||||
|
|
Loading…
Reference in New Issue