diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 15:00:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 15:00:35 +0300 |
commit | e8c322ee8568b6fbe01625f047f7056aa00cd818 (patch) | |
tree | f8de1afc51aab2fc5df6718de48e7bf3b05c9082 /CMakeLists.txt | |
parent | c7dc8ddf7dae781d27535475cbf9ea397bf4edcf (diff) |
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.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 53d96c9fdcd..0e8870fe977 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |