Link bx library.
This commit is contained in:
parent
0271b449f8
commit
1350734fbb
@ -14,6 +14,8 @@
|
||||
#include <X11/Xutil.h>
|
||||
#include <bgfx/platform.h>
|
||||
|
||||
#include <unistd.h> // syscall
|
||||
|
||||
#undef None
|
||||
#include <bx/thread.h>
|
||||
#include <bx/os.h>
|
||||
|
@ -75,6 +75,10 @@ function bgfxProject(_name, _kind, _defines)
|
||||
_defines,
|
||||
}
|
||||
|
||||
links {
|
||||
"bx",
|
||||
}
|
||||
|
||||
if _OPTIONS["with-glfw"] then
|
||||
defines {
|
||||
"BGFX_CONFIG_MULTITHREADED=0",
|
||||
|
@ -143,6 +143,7 @@ function exampleProject(_name)
|
||||
|
||||
links {
|
||||
"bgfx",
|
||||
"bx",
|
||||
"example-common",
|
||||
}
|
||||
|
||||
@ -363,6 +364,8 @@ dofile "bgfx.lua"
|
||||
group "libs"
|
||||
bgfxProject("", "StaticLib", {})
|
||||
|
||||
dofile(path.join(BX_DIR, "scripts/bx.lua"))
|
||||
|
||||
if _OPTIONS["with-examples"] or _OPTIONS["with-tools"] then
|
||||
group "examples"
|
||||
dofile "example-common.lua"
|
||||
|
Loading…
Reference in New Issue
Block a user