summaryrefslogtreecommitdiffstats
path: root/Tests/FindPython/FindPythonScript.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindPython: On Windows, Enhance python debug version supportMarc Chevrier2024-05-091-1/+1
| | | | | | | | | | | | | | 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
* FindPython: ensure user's policies are respectedMarc Chevrier2020-08-071-1/+1
| | | | | | | | | | | Do not set the policy version before recording our internal macros such as `__Python_add_library`. Otherwise callers get our policy version instead of theirs. Instead just set the specific policies we need. Also fix one case in our test suite where we were accidentally relying on the policy version to be set by `FindPython`. Fixes: #21042
* FindPython: add Python_FIND_ABI hint.Marc Chevrier2019-06-241-1/+9
| | | | This variable will enable to specify will ABIs will be searched.
* FindPython: Support script modeKyle Edwards2019-01-231-0/+1
Fixes: #18827