1
0

Added Lua C API checks in Debug builds.

This commit is contained in:
Mattes D 2015-05-07 22:35:02 +02:00
parent 011126293b
commit ceac39c4cd

View File

@ -78,6 +78,9 @@ endif()
# The Expat library is linked in statically, make the source files aware of that:
add_definitions(-DXML_STATIC)
# Let Lua use additional checks on its C API. This is only compiled into Debug builds:
add_definitions(-DLUA_USE_APICHECK)
# Self Test Mode enables extra checks at startup
if(${SELF_TEST})
add_definitions(-DSELF_TEST)