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