Moved showExampleDialog to separate library to decouple entry and imgui.

This commit is contained in:
Branimir Karadžić
2017-06-26 21:04:16 -07:00
parent 9e737f705d
commit b12ce15a82
4 changed files with 107 additions and 97 deletions

View File

@@ -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",