From c38af286b44afe2e1c1b1feb2ec5d44273436c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Mon, 9 Mar 2015 10:58:18 -0700 Subject: [PATCH] Cleanup. --- scripts/bgfx.lua | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/bgfx.lua b/scripts/bgfx.lua index 8b67642d9..30646cfd1 100644 --- a/scripts/bgfx.lua +++ b/scripts/bgfx.lua @@ -46,6 +46,14 @@ function bgfxProject(_name, _kind, _defines) } end + if (_OPTIONS["vs"] == "vs2012-xp") + or (_OPTIONS["vs"] == "vs2013-xp") then + configuration { "vs201*" } + includedirs { + "$(DXSDK_DIR)/include", + } + end + configuration { "Debug" } defines { "BGFX_CONFIG_DEBUG=1", @@ -62,13 +70,6 @@ function bgfxProject(_name, _kind, _defines) "$(DXSDK_DIR)/include", } - if (_OPTIONS["vs"] == "vs2012-xp") or (_OPTIONS["vs"] == "vs2013-xp") then - configuration { "vs201*" } - includedirs { - "$(DXSDK_DIR)/include", - } - end - configuration { "winphone8*"} linkoptions { "/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata