Merge topic 'FindPython-WIN32-DEBUG'

c164404b2e FindPython: On Windows, Enhance python debug version support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Osyotr <zhenchik35026@gmail.com>
Merge-request: !9482
This commit is contained in:
Brad King
2024-05-14 14:52:38 +00:00
committed by Kitware Robot
43 changed files with 279 additions and 62 deletions
+20
View File
@@ -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.