Fixed assert macros, and improved error handling.

This commit is contained in:
Бранимир Караџић
2021-10-25 18:59:11 -07:00
parent 11c3c5e615
commit 51c3264846
42 changed files with 226 additions and 154 deletions

View File

@@ -15,6 +15,28 @@ local function userdefines()
return defines
end
function using_bx()
includedirs {
path.join(BX_DIR, "include"),
}
links {
"bx",
}
configuration { "Debug" }
defines {
"BX_CONFIG_DEBUG=1",
}
configuration { "Release" }
defines {
"BX_CONFIG_DEBUG=0",
}
configuration {}
end
project "bx"
kind "StaticLib"
@@ -32,11 +54,6 @@ project "bx"
defines (userdefines())
configuration { "Debug" }
defines {
"BX_CONFIG_DEBUG=1",
}
configuration { "linux-*" }
buildoptions {
"-fPIC",
@@ -75,4 +92,14 @@ project "bx"
}
end
configuration { "Debug" }
defines {
"BX_CONFIG_DEBUG=1",
}
configuration { "Release" }
defines {
"BX_CONFIG_DEBUG=0",
}
configuration {}