mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
FindPython: On Windows, Enhance python debug version support
Add the following variables: * Python_EXECUTABLE_DEBUG * Python_INTERPRETER * Python_DEBUG_POSTFIX and target Python::InterpreterDebug. python_add_library() command Manage DEBUG_POSTFIX target property based on the value of Python_DEBUG_POSTFIX variable. Fixes: #25874
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
FindPython-DEBUG
|
||||
----------------
|
||||
|
||||
* The :module:`FindPython`, :module:`FindPython2` and :module:`FindPython3`
|
||||
modules offer, on ``Windows`` platform, a better support of the ``Python``
|
||||
debug version:
|
||||
|
||||
* new variables:
|
||||
|
||||
* ``Python_EXECUTABLE_DEBUG``
|
||||
* ``Python_INTERPRETER``
|
||||
* ``Python_DEBUG_POSTFIX``
|
||||
|
||||
* new targets:
|
||||
|
||||
* ``Python::InterpreterDebug``
|
||||
* ``Python::InterpreterMultiConfig``
|
||||
|
||||
And the ``python_add_library()`` command manage the :prop_tgt:`DEBUG_POSTFIX`
|
||||
target property based on the value of the ``Python_DEBUG_POSTFIX`` variable.
|
||||
Reference in New Issue
Block a user