Move Windows specific linkoption under Windows platform section.

This commit is contained in:
sephiroth99 2015-09-22 01:09:40 -04:00 committed by Ben Vanik
parent 9961fbde2e
commit 5cec2b3d3e
1 changed files with 5 additions and 4 deletions

View File

@ -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",