Pārlūkot izejas kodu

Ignore VS linker warning 'LNK4199: /DELAYLOAD:*.dll ignored; no imports found from *.dll'

bkaradzic 12 gadi atpakaļ
vecāks
revīzija
c477579843
2 mainītis faili ar 4 papildinājumiem un 5 dzēšanām
  1. 1 5
      premake/bgfx.lua
  2. 3 0
      premake/premake4.lua

+ 1 - 5
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",
 		}

+ 3 - 0
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",
 		}