Marc Chevrier
c164404b2e
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
2024-05-09 19:08:47 +02:00
Marc Chevrier
711d1da125
FindPython: add capability to select python version for the tests
2023-06-15 15:28:55 +02:00
Brad King
bd7b2293aa
Tests: Bump CMake minimum required version in find-module tests to 3.5
...
CMake 3.27 deprecates compatibility with CMake < 3.5.
Update find module tests to avoid the deprecation warning.
2023-03-08 15:41:43 -05:00
Marc Chevrier
5537ccd814
FindPython: Tests optimizations
...
* Use 'project(... LANGUAGES NONE)' when possible
* enhance error messages wording
2020-10-01 17:51:16 +02:00
Marc Chevrier
3dab4682f6
FindPython: reduces consumption of resources
...
Stores more information in the cache to reduce the number
of sub-processes required on subsequent find_package calls.
Fixes : #20337
2020-02-10 12:41:04 +01:00
Sebastian Müller
776d27d4a4
FindPython: Extend virtual environment handling by considering conda
...
- Add functionality to recognize and use CONDA_PREFIX environment variable
- Add tests for conda virtual environments
- Fixes : #20111
2019-12-21 15:38:00 +01:00
Marc Chevrier
8a2f62cc18
FindPython*: Add capability to control virtual env handling.
...
Fixes : #19097
2019-04-03 09:16:17 +02:00