From c47757984373b4869262d72e918bd26683c030a4 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Fri, 11 Oct 2013 20:38:47 -0700 Subject: [PATCH] Ignore VS linker warning 'LNK4199: /DELAYLOAD:*.dll ignored; no imports found from *.dll' --- premake/bgfx.lua | 6 +----- premake/premake4.lua | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/premake/bgfx.lua b/premake/bgfx.lua index 2bd25728..a4fcfc7f 100644 --- a/premake/bgfx.lua +++ b/premake/bgfx.lua @@ -11,15 +11,11 @@ project "bgfx" BGFX_DIR .. "../bx/include", } - buildoptions { --- "-Wall", - } - defines { -- "BGFX_CONFIG_RENDERER_OPENGL=1", } - configuration "Debug" + configuration { "Debug" } defines { "BGFX_CONFIG_DEBUG=1", } diff --git a/premake/premake4.lua b/premake/premake4.lua index afd0897c..bacaeb07 100644 --- a/premake/premake4.lua +++ b/premake/premake4.lua @@ -61,6 +61,9 @@ function exampleProject(_name, _uuid) } configuration { "vs*" } + linkoptions { + "/ignore:4199", -- LNK4199: /DELAYLOAD:*.dll ignored; no imports found from *.dll + } links { -- this is needed only for testing with GLES2/3 on Windows with VS2008 "DelayImp", }