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",
|
||||
})
|
||||
runtime("Release")
|
||||
linkoptions({"/NODEFAULTLIB:MSVCRTD"})
|
||||
|
||||
filter("configurations:Release")
|
||||
runtime("Release")
|
||||
|
@ -58,7 +57,6 @@ filter("configurations:Release")
|
|||
"LinkTimeOptimization",
|
||||
})
|
||||
runtime("Release")
|
||||
linkoptions({"/NODEFAULTLIB:MSVCRTD"})
|
||||
|
||||
filter("platforms:Linux")
|
||||
system("linux")
|
||||
|
@ -95,8 +93,11 @@ filter("platforms:Windows")
|
|||
"_WIN64=1",
|
||||
"_AMD64=1",
|
||||
})
|
||||
-- Ignores complaints about empty obj files:
|
||||
linkoptions({"/ignore:4006", "/ignore:4221"})
|
||||
linkoptions({
|
||||
"/ignore:4006", -- Ignores complaints about empty obj files.
|
||||
"/ignore:4221",
|
||||
"/NODEFAULTLIB:MSVCRTD"
|
||||
})
|
||||
links({
|
||||
"ntdll",
|
||||
"wsock32",
|
||||
|
|
Loading…
Reference in New Issue