diff options
| author | sephiroth99 <sephiroth99@gmail.com> | 2015-09-22 01:09:40 -0400 |
|---|---|---|
| committer | Ben Vanik <ben.vanik@gmail.com> | 2015-09-22 07:42:46 -0700 |
| commit | 5cec2b3d3efad41995e215d1e648b76ed9989082 (patch) | |
| tree | 425e34a753756454668ddb645127f11297156c62 /premake5.lua | |
| parent | 9961fbde2ecff2ab823c2d2e9382c4abbdfc89d3 (diff) | |
Move Windows specific linkoption under Windows platform section.
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/premake5.lua b/premake5.lua index 02728f550..f33d90631 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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", |
