Move Windows specific linkoption under Windows platform section.
This commit is contained in:
parent
9961fbde2e
commit
5cec2b3d3e
|
@ -45,7 +45,6 @@ filter("configurations:Debug")
|
||||||
"_NO_DEBUG_HEAP=1",
|
"_NO_DEBUG_HEAP=1",
|
||||||
})
|
})
|
||||||
runtime("Release")
|
runtime("Release")
|
||||||
linkoptions({"/NODEFAULTLIB:MSVCRTD"})
|
|
||||||
|
|
||||||
filter("configurations:Release")
|
filter("configurations:Release")
|
||||||
runtime("Release")
|
runtime("Release")
|
||||||
|
@ -58,7 +57,6 @@ filter("configurations:Release")
|
||||||
"LinkTimeOptimization",
|
"LinkTimeOptimization",
|
||||||
})
|
})
|
||||||
runtime("Release")
|
runtime("Release")
|
||||||
linkoptions({"/NODEFAULTLIB:MSVCRTD"})
|
|
||||||
|
|
||||||
filter("platforms:Linux")
|
filter("platforms:Linux")
|
||||||
system("linux")
|
system("linux")
|
||||||
|
@ -95,8 +93,11 @@ filter("platforms:Windows")
|
||||||
"_WIN64=1",
|
"_WIN64=1",
|
||||||
"_AMD64=1",
|
"_AMD64=1",
|
||||||
})
|
})
|
||||||
-- Ignores complaints about empty obj files:
|
linkoptions({
|
||||||
linkoptions({"/ignore:4006", "/ignore:4221"})
|
"/ignore:4006", -- Ignores complaints about empty obj files.
|
||||||
|
"/ignore:4221",
|
||||||
|
"/NODEFAULTLIB:MSVCRTD"
|
||||||
|
})
|
||||||
links({
|
links({
|
||||||
"ntdll",
|
"ntdll",
|
||||||
"wsock32",
|
"wsock32",
|
||||||
|
|
Loading…
Reference in New Issue