diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-10-22 19:17:08 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-10-22 19:17:08 +0300 |
commit | 86dbbd156fafccea7bfcf3207c8486fb2098b341 (patch) | |
tree | 5deb8e1d31ff164f0bb13caf092d62ed895688fc /CMakeLists.txt | |
parent | 32d66889e992a82f3e56c0d43b06c0f4a89a08f7 (diff) |
Windows: Enable python debugging in Visual Studio.
see D3817 for technical details, and https://wiki.blender.org/wiki/Tools/Debugging/Python_Visual_Studio for a end user quick-start guide.
Differential Revision: https://developer.blender.org/D3817
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c51558d6b08..fc7f3acbbb4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -577,6 +577,9 @@ if(WIN32) option(WINDOWS_USE_VISUAL_STUDIO_FOLDERS "Organize the visual studio project according to source folders." ON) mark_as_advanced(WINDOWS_USE_VISUAL_STUDIO_FOLDERS) + + option(WINDOWS_PYTHON_DEBUG "Include the files needed for debugging python scripts with visual studio 2017+." OFF) + mark_as_advanced(WINDOWS_PYTHON_DEBUG) endif() # avoid using again |