From 45837696813601c834602bbabdd020a3f0e42531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 27 Aug 2015 20:27:03 -0700 Subject: [PATCH] Cleanup. --- scripts/bgfx.lua | 8 -------- scripts/example-common.lua | 12 +++--------- scripts/genie.lua | 6 ------ scripts/shaderc.lua | 6 ------ 4 files changed, 3 insertions(+), 29 deletions(-) diff --git a/scripts/bgfx.lua b/scripts/bgfx.lua index 17086db2..8c196d5b 100644 --- a/scripts/bgfx.lua +++ b/scripts/bgfx.lua @@ -58,14 +58,6 @@ 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", diff --git a/scripts/example-common.lua b/scripts/example-common.lua index 94aa9d5c..5a5dd7ce 100644 --- a/scripts/example-common.lua +++ b/scripts/example-common.lua @@ -61,16 +61,10 @@ project ("example-common") } end - configuration { "vs2008" } - includedirs { - "$(DXSDK_DIR)/include", + configuration { "osx or ios*" } + files { + path.join(BGFX_DIR, "examples/common/**.mm"), } - if (_OPTIONS["vs"] == "vs2012-xp") or (_OPTIONS["vs"] == "vs2013-xp") then - configuration { "vs201*" } - includedirs { - "$(DXSDK_DIR)/include", - } - end configuration { "winphone8* or winstore8*"} linkoptions { diff --git a/scripts/genie.lua b/scripts/genie.lua index 92705b12..90beb31a 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -305,9 +305,6 @@ function exampleProject(_name) } configuration { "osx" } - files { - path.join(BGFX_DIR, "examples/common/**.mm"), - } links { "Cocoa.framework", "OpenGL.framework", @@ -315,9 +312,6 @@ function exampleProject(_name) configuration { "ios*" } kind "ConsoleApp" - files { - path.join(BGFX_DIR, "examples/common/**.mm"), - } linkoptions { "-framework CoreFoundation", "-framework Foundation", diff --git a/scripts/shaderc.lua b/scripts/shaderc.lua index 5f6d4e4f..2824477a 100644 --- a/scripts/shaderc.lua +++ b/scripts/shaderc.lua @@ -55,12 +55,6 @@ project "shaderc" path.join(GLSL_OPTIMIZER, "include/c99"), } - configuration { "vs*" } - includedirs { - "$(DXSDK_DIR)/include", - } - - configuration { "vs* or mingw*" } links { "d3dcompiler",