summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/example-common.lua
diff options
context:
space:
mode:
author sparrowred <redsparrow@freenet.de>2016-12-23 14:48:09 +0100
committer sparrowred <redsparrow@freenet.de>2016-12-23 14:48:09 +0100
commitd0b0de1aec45c0f9b66c931efb9902874cb93728 (patch)
tree98a11fe89a65cc62fa8114a0b6c5312c21810ede /3rdparty/bgfx/scripts/example-common.lua
parentc0561727b406ed189039d81fac7c69fef4c79913 (diff)
parent63b7b9d521712404dc35156ef8d7e606440b4156 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to '3rdparty/bgfx/scripts/example-common.lua')
-rw-r--r--3rdparty/bgfx/scripts/example-common.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/3rdparty/bgfx/scripts/example-common.lua b/3rdparty/bgfx/scripts/example-common.lua
index 1832f9836ac..078877feadf 100644
--- a/3rdparty/bgfx/scripts/example-common.lua
+++ b/3rdparty/bgfx/scripts/example-common.lua
@@ -19,6 +19,7 @@ project ("example-common")
path.join(BGFX_DIR, "3rdparty/ocornut-imgui/**.cpp"),
path.join(BGFX_DIR, "3rdparty/ocornut-imgui/**.h"),
path.join(BGFX_DIR, "examples/common/**.cpp"),
+ path.join(BGFX_DIR, "examples/common/**.cpp"),
path.join(BGFX_DIR, "examples/common/**.h"),
}
@@ -61,12 +62,20 @@ project ("example-common")
}
end
+ configuration { "linux-steamlink" }
+ defines {
+ "EGL_API_FB",
+ }
+
configuration { "osx or ios* or tvos*" }
files {
path.join(BGFX_DIR, "examples/common/**.mm"),
}
- configuration { "winphone8* or winstore8*"}
+ configuration { "winphone8* or winstore8* or durango"}
+ files {
+ path.join(BGFX_DIR, "examples/common/**.cx"),
+ }
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
}