Py/RNA API: WITH_PYTHON_SAFETY

compile time option which enables extra safety checks.
since this is noticeably slower I rather not enable by default yet.
This commit is contained in:
Campbell Barton
2011-03-03 12:00:35 +00:00
parent c7dc8ddf7d
commit e8c322ee85
5 changed files with 43 additions and 16 deletions

View File

@@ -69,6 +69,7 @@ get_blender_version()
# Blender internal features
option(WITH_INTERNATIONAL "Enable I18N (International fonts and text)" ON)
option(WITH_PYTHON "Enable Embedded Python API" ON)
option(WITH_PYTHON_SAFETY "Enable internal API error checking to track invalid data to prevent crash on access (at the expense of some effeciency)." OFF)
option(WITH_PYTHON_MODULE "Enable building as a python module (experemental)" OFF)
option(WITH_BUILDINFO "Include extra build details" ON)
option(WITH_IK_ITASC "Enable ITASC IK solver" ON)