mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed assert macros, and improved error handling.
This commit is contained in:
@@ -7,7 +7,6 @@ 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"),
|
||||
@@ -17,11 +16,14 @@ project ("example-glue")
|
||||
path.join(BGFX_DIR, "examples/common/example-glue.cpp"),
|
||||
}
|
||||
|
||||
using_bx()
|
||||
|
||||
configuration {}
|
||||
|
||||
project ("example-common")
|
||||
kind "StaticLib"
|
||||
|
||||
includedirs {
|
||||
path.join(BX_DIR, "include"),
|
||||
path.join(BIMG_DIR, "include"),
|
||||
path.join(BGFX_DIR, "include"),
|
||||
path.join(BGFX_DIR, "3rdparty"),
|
||||
@@ -36,6 +38,8 @@ project ("example-common")
|
||||
path.join(BGFX_DIR, "examples/common/**.h"),
|
||||
}
|
||||
|
||||
using_bx()
|
||||
|
||||
if filesexist(BGFX_DIR, path.join(BGFX_DIR, "../bgfx-gnm"),
|
||||
{ path.join(BGFX_DIR, "../bgfx-gnm/examples/common/entry/entry_orbis.cpp") }) then
|
||||
|
||||
@@ -90,3 +94,5 @@ project ("example-common")
|
||||
"/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata
|
||||
}
|
||||
premake.vstudio.splashpath = "../../../examples/runtime/images/SplashScreen.png"
|
||||
|
||||
configuration {}
|
||||
|
||||
Reference in New Issue
Block a user