mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Moved showExampleDialog to separate library to decouple entry and imgui.
This commit is contained in:
@@ -3,8 +3,21 @@
|
||||
-- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
|
||||
--
|
||||
|
||||
project ("example-glue")
|
||||
kind "StaticLib"
|
||||
|
||||
includedirs {
|
||||
path.join(BX_DIR, "include"),
|
||||
path.join(BIMG_DIR, "include"),
|
||||
path.join(BGFX_DIR, "include"),
|
||||
path.join(BGFX_DIR, "3rdparty"),
|
||||
}
|
||||
|
||||
files {
|
||||
path.join(BGFX_DIR, "examples/common/example-glue.cpp"),
|
||||
}
|
||||
|
||||
project ("example-common")
|
||||
uuid ("21cc0e26-bf62-11e2-a01e-0291bd4c8125")
|
||||
kind "StaticLib"
|
||||
|
||||
includedirs {
|
||||
@@ -24,6 +37,10 @@ project ("example-common")
|
||||
path.join(BGFX_DIR, "examples/common/**.h"),
|
||||
}
|
||||
|
||||
removefiles {
|
||||
path.join(BGFX_DIR, "examples/common/example-glue.cpp"),
|
||||
}
|
||||
|
||||
if _OPTIONS["with-scintilla"] then
|
||||
defines {
|
||||
"SCI_NAMESPACE",
|
||||
|
||||
Reference in New Issue
Block a user