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",