summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/texturev.lua
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/scripts/texturev.lua')
-rw-r--r--3rdparty/bgfx/scripts/texturev.lua48
1 files changed, 11 insertions, 37 deletions
diff --git a/3rdparty/bgfx/scripts/texturev.lua b/3rdparty/bgfx/scripts/texturev.lua
index 8d17034c664..80f7dc4e814 100644
--- a/3rdparty/bgfx/scripts/texturev.lua
+++ b/3rdparty/bgfx/scripts/texturev.lua
@@ -5,7 +5,6 @@ project ("texturev")
configuration {}
includedirs {
- path.join(BX_DIR, "include"),
path.join(BIMG_DIR, "include"),
path.join(BGFX_DIR, "include"),
path.join(BGFX_DIR, "3rdparty"),
@@ -23,9 +22,10 @@ project ("texturev")
"bimg_decode",
"bimg",
"bgfx",
- "bx",
}
+ using_bx()
+
if _OPTIONS["with-sdl"] then
defines { "ENTRY_CONFIG_USE_SDL=1" }
links { "SDL2" }
@@ -43,19 +43,9 @@ project ("texturev")
defines { "ENTRY_CONFIG_USE_GLFW=1" }
links { "glfw3" }
- configuration { "linux or freebsd" }
- links {
- "Xrandr",
- "Xinerama",
- "Xi",
- "Xxf86vm",
- "Xcursor",
- }
-
- configuration { "osx" }
+ configuration { "osx*" }
linkoptions {
"-framework CoreVideo",
- "-framework IOKit",
}
configuration {}
@@ -80,6 +70,7 @@ project ("texturev")
configuration { "vs20* or mingw*" }
links {
+ "comdlg32",
"gdi32",
"psapi",
}
@@ -116,27 +107,8 @@ project ("texturev")
"GLESv2",
}
- configuration { "nacl*" }
+ configuration { "wasm*" }
kind "ConsoleApp"
- targetextension ".nexe"
- links {
- "ppapi",
- "ppapi_gles2",
- "pthread",
- }
-
- configuration { "pnacl" }
- kind "ConsoleApp"
- targetextension ".pexe"
- links {
- "ppapi",
- "ppapi_gles2",
- "pthread",
- }
-
- configuration { "asmjs" }
- kind "ConsoleApp"
- targetextension ".bc"
configuration { "linux-* or freebsd" }
links {
@@ -156,12 +128,13 @@ project ("texturev")
"pthread",
}
- configuration { "osx" }
+ configuration { "osx*" }
linkoptions {
"-framework Cocoa",
+ "-framework IOKit",
"-framework Metal",
- "-framework QuartzCore",
"-framework OpenGL",
+ "-framework QuartzCore",
}
configuration { "ios*" }
@@ -169,12 +142,13 @@ project ("texturev")
linkoptions {
"-framework CoreFoundation",
"-framework Foundation",
+ "-framework IOKit",
"-framework OpenGLES",
- "-framework UIKit",
"-framework QuartzCore",
+ "-framework UIKit",
}
- configuration { "xcode4", "ios" }
+ configuration { "xcode*", "ios" }
kind "WindowedApp"
configuration { "qnx*" }