Windows: Enable python debugging in Visual Studio.
[blender.git] / CMakeLists.txt
index c51558d6b0809eb22f23097b293d3a03e74c92d0..fc7f3acbbb49db8ea450315b7cba439123c6fc7c 100644 (file)
@@ -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