Skip to content

Conversation

olizit
Copy link

@olizit olizit commented Mar 26, 2025

Description

Allow to find a debug executable of python.

This PR is a part of a larger vcpkg issue

Suggested changelog entry:

FindPython: allow to find debug python executable

@olizit olizit marked this pull request as ready for review March 26, 2025 09:05
@olizit olizit requested a review from henryiii as a code owner March 26, 2025 09:05
@olizit olizit marked this pull request as draft March 26, 2025 09:26
set(PYBIND11_PYTHON_EXECUTABLE_LAST
"${${_Python}_EXECUTABLE}"
CACHE INTERNAL "Python executable during the last CMake run")
if(CMAKE_BUILD_TYPE STREQUAL "Debug"
Copy link
Collaborator

@henryiii henryiii Mar 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multi-configuration generators (like MSVC or Ninja multi config) configure for both at the same time, how does this interact with those?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants