summaryrefslogtreecommitdiff
path: root/Modules/FindPython/Support.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindPython: fix handling when FIND_VIRTUALENV == FIRSTMarc Chevrier2020-04-011-1/+1
| | | | Fixes: #20525
* FindPython: Do not cache computed result variables in CMake 3.16Marc Chevrier2020-02-261-2/+2
| | | | | | | | | | Since commit 06d9e67fbd (FindPython: Add capability to specify directly artifacts, 2019-08-15, v3.16.0-rc1~157^2) we accidentally add the result variables `Python*_LIBRARY_RELEASE` and `Python*_LIBRARY_DEBUG` to the cache. They are always computed from other results and so should not be presented to users in cmake-gui and ccmake to edit. Issue: #20362
* FindPython: Mark non-public cache entries INTERNAL in CMake 3.16Marc Chevrier2020-02-261-48/+95
| | | | | | | | | Since commit 06d9e67fbd (FindPython: Add capability to specify directly artifacts, 2019-08-15, v3.16.0-rc1~157^2) we accidentally expose cache entries named `_Python...` to users in cmake-gui and ccmake. Mark those entries as `INTERNAL` to hide them. Issue: #20362
* FindPython: Add support for version 3.9Miro HronĨok2020-01-141-1/+1
| | | | | | | Development versions of Python 3.9.0 are already out there. See PEP 596 -- Python 3.9 Release Schedule: https://www.python.org/dev/peps/pep-0596/
* FindPython: ensure new Xcode framework for Python3 is detectedMarc Chevrier2020-01-101-0/+3
|
* FindPython*: Fix erroneous target properties settingMarc Chevrier2019-12-191-1/+1
| | | | | Property IMPORTED_CONFIGURATIONS for targets Python*::Python and Python*::Module is not correctly set.
* FindPython: Add capability to specify directly artifactsMarc Chevrier2019-09-021-205/+292
| | | | Fixes: #19492
* FindPython: Enhance python cache variables management.Marc Chevrier2019-09-021-756/+935
| | | | | | Ensure multiple cmake runs without cache clean-up will preserve artifacts selected on first run. This change address the issue #19492.
* FindPython: ensure virtual environments are correctly handledMarc Chevrier2019-08-051-185/+294
| | | | Fixes: #19525
* Merge topic 'FindPython-interpreter-crosscompiling'Brad King2019-07-181-11/+10
|\ | | | | | | | | | | | | 696d0f9caf FindPython: ensure interpreter is founded when cross-compiling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3564
| * FindPython: ensure interpreter is founded when cross-compilingMarc Chevrier2019-07-181-11/+10
| | | | | | | | Fixes: #19473
* | FindPython: add Python_FIND_ABI hint.Marc Chevrier2019-06-241-99/+270
|/ | | | This variable will enable to specify will ABIs will be searched.
* FindPython: ensure Python_ROOT_DIR is always searched firstMarc Chevrier2019-05-311-0/+2
|
* FindPython*: remove erroneous codeMarc Chevrier2019-05-301-2/+0
|
* FindPython: Add variable 'Python_FIND_FRAMEWORK' to control frameworks lookup.Marc Chevrier2019-05-241-9/+20
|
* FindPython: Add policy to manage lookup stratgey default.Marc Chevrier2019-05-211-2/+12
|
* FindPython: Implement lookup strategies.Marc Chevrier2019-05-211-363/+764
| | | | | | | Configration variable Python_FIND_STRATEGY controls the lookup startegy. Possible values are LOCATION and VERSION. Fixes: #19159
* FindPython*: Manage weak link for Python modulesMarc Chevrier2019-05-071-63/+98
| | | | | | | Add new target Python::Module which take care of platform requirements for Python module development. Fixes: #18100
* Merge topic 'FindPython-fix-Python_RUNTIME_LIBRARY_DIRS-variable'Brad King2019-05-061-3/+6
|\ | | | | | | | | | | | | 34c0293532 FindPython: ensure variable Python_RUNTIME_LIBRARY_DIRS is set correctly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3287
| * FindPython: ensure variable Python_RUNTIME_LIBRARY_DIRS is set correctlyMarc Chevrier2019-05-051-3/+6
| |
* | Merge topic 'FindPython-NumPy-fix-dependencies-management'Brad King2019-05-011-9/+13
|\ \ | |/ | | | | | | | | | | 68c8201711 FindPython: NumPy: fix erroneous dependencies management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3274
| * FindPython: NumPy: fix erroneous dependencies managementMarc Chevrier2019-04-301-9/+13
| |
* | FindPython*: Add capability to control virtual env handling.Marc Chevrier2019-04-031-5/+60
|/ | | | Fixes: #19097
* FindPython*: ensure correct architecture is selected.Marc Chevrier2019-03-141-8/+8
| | | | | | | | Ensure interpreter and libraries architecture matches CMake build configuration. Update documentation about interpreter constraints. Fixes: #19024
* FindPython: Fix NumPy component include directoryMarc Chevrier2019-03-041-2/+1
| | | | | | | Update the component added by commit 513e77550d (FindPython: Introduce NumPy component, 2018-12-12, v3.14.0-rc1~95^2). The `numpy/` sub-directory should not be part of the include directory. It should be part of the `#include` line.
* FindPython: Introduce NumPy componentHiroshi Miura2019-01-251-0/+47
| | | | | Fixes: #18678 Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* FindPython: Support script modeKyle Edwards2019-01-231-101/+105
| | | | Fixes: #18827
* FindPython: Ensure config tool matches library architectureMarc Chevrier2018-11-191-0/+17
|
* FindPython*: Add missing registry pathsMarc Chevrier2018-10-111-2/+33
| | | | Fixes: #18443
* FindPython*: fix erroneous handling of virtual environmentsMarc Chevrier2018-10-021-11/+15
| | | | fixes: #18408
* FindPython*: Windows: add facility to select lookup order for registry.Marc Chevrier2018-09-121-60/+204
| | | | Fixes: #18302
* FindPython*: MacOS: Fix erroneous handling of Frameworks.Marc Chevrier2018-09-121-17/+156
| | | | Fixes: #18204
* FindPython: clean-up lookup names strategyMarc Chevrier2018-09-121-3/+10
|
* FindPython*: fix erroneous behavior on multiple 'find_package' callsMarc Chevrier2018-07-231-5/+1
| | | | Fixes: #18192
* FindPython: Add support for version 3.8Marcel Plch2018-06-081-1/+1
| | | | Python 3.7 is about to be released, making the development version 3.8.
* Fix misc. typosluz.paz2018-06-041-3/+3
| | | | Found via `codespell` and `grep`
* FindPython: ensure correct architecture (i.e. 32/64bit) is usedMarc Chevrier2018-04-201-5/+74
|
* FindPython: Add cross-compilation support for Debian-based systems.Yee Fan2018-04-191-15/+23
| | | | | | | | | | | Debian-based Linux distributions locate their architecture-specific pythonX.Y-config tool at /usr/bin/<arch>-python<X.Y>-config. We first attempt to find and use the architecture-specific pythonX.Y-config tool. If the pythonX.Y-config tools are absent, then we proceed to find the architecture-specific Python libraries. Fixes: #17912
* FindPython: enhance multiple major versions lookupMarc Chevrier2018-04-031-0/+9
|
* FindPython*: New implementation for Python stuffMarc Chevrier2018-03-201-0/+843
Fixes: #16142