Commit ad06fd60 authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot
Browse files

Merge topic 'python-debug-suffix'

82ec0b81

 debug name for python modules on windows
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: David Gobbi's avatarDavid Gobbi <david.gobbi@gmail.com>
Merge-request: !3618
parents eaf936c1 82ec0b81
...@@ -164,6 +164,9 @@ function(_vtk_add_python_module name) ...@@ -164,6 +164,9 @@ function(_vtk_add_python_module name)
# when building shared on Windows, the python module files need to be # when building shared on Windows, the python module files need to be
# named as *.pyd # named as *.pyd
set_target_properties(${name} PROPERTIES SUFFIX ".pyd") set_target_properties(${name} PROPERTIES SUFFIX ".pyd")
if (PYTHON_DEBUG_LIBRARY)
set_target_properties(${name} PROPERTIES OUTPUT_NAME_DEBUG "${name}_d")
endif()
endif() endif()
# build python module libraries under the ${VTK_BUILD_PYTHON_MODULES_DIR} dir. # build python module libraries under the ${VTK_BUILD_PYTHON_MODULES_DIR} dir.
set_target_properties(${name} set_target_properties(${name}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment