diff options
author | 2016-04-04 13:52:25 +0200 | |
---|---|---|
committer | 2016-04-04 13:52:25 +0200 | |
commit | e63f379a0ef420cf720b7655ea63e19330954eb8 (patch) | |
tree | 1c51de36d7fbd9f5218b165b71f3ec9aa1bcfe36 /3rdparty/bgfx/scripts/genie.lua | |
parent | 9496a5b24d7fb14dcb38bd16ec8ca528ebdfee1b (diff) |
Update BGFX to latest (nw)
Diffstat (limited to '3rdparty/bgfx/scripts/genie.lua')
-rw-r--r-- | 3rdparty/bgfx/scripts/genie.lua | 45 |
1 files changed, 6 insertions, 39 deletions
diff --git a/3rdparty/bgfx/scripts/genie.lua b/3rdparty/bgfx/scripts/genie.lua index 5ae3b4f73f1..3cf7e9b4b76 100644 --- a/3rdparty/bgfx/scripts/genie.lua +++ b/3rdparty/bgfx/scripts/genie.lua @@ -173,47 +173,14 @@ function exampleProject(_name) end if _OPTIONS["with-ovr"] then - links { - "winmm", - "ws2_32", - } - - -- Check for LibOVR 5.0+ - if os.isdir(path.join(os.getenv("OVR_DIR"), "LibOVR/Lib/Windows/Win32/Debug/VS2012")) then - - configuration { "x32", "Debug" } - libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/Windows/Win32/Debug", _ACTION) } - - configuration { "x32", "Release" } - libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/Windows/Win32/Release", _ACTION) } - - configuration { "x64", "Debug" } - libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/Windows/x64/Debug", _ACTION) } - - configuration { "x64", "Release" } - libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/Windows/x64/Release", _ACTION) } + configuration { "x32" } + libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/Windows/Win32/Release", _ACTION) } - configuration { "x32 or x64" } - links { "libovr" } - else - configuration { "x32" } - libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/Win32", _ACTION) } + configuration { "x64" } + libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/Windows/x64/Release", _ACTION) } - configuration { "x64" } - libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/x64", _ACTION) } - - configuration { "x32", "Debug" } - links { "libovrd" } - - configuration { "x32", "Release" } - links { "libovr" } - - configuration { "x64", "Debug" } - links { "libovr64d" } - - configuration { "x64", "Release" } - links { "libovr64" } - end + configuration { "x32 or x64" } + links { "libovr" } configuration {} end |