summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindPython: enforce artifacts consistency when cross-compilingMarc Chevrier2025-03-051-0/+15
| | | | Fixes: #26696
* LICENSE: Replace references to Copyright.txt with LICENSE.rstKitware Robot2025-03-031-1/+1
| | | | | | | | | | ``` git grep -lz 'Copyright.txt or https://cmake.org/licensing ' | while IFS= read -r -d $'\0' f ; do sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / { s/Copyright.txt/LICENSE.rst/ }' "$f" ; done ```
* Modules/Find*: Include FindPackageHandleStandardArgs normallyBrad King2025-01-301-1/+1
| | | | | | | Since commit d74210a8bd (CMP0017: Remove support for OLD behavior, 2024-11-17) we can rely on CMP0017's NEW behavior unconditionally. Calling `include(FindPackageHandleStandardArgs)` in a builtin module will always get the builtin `FindPackageHandleStandardArgs`.
* Help: More syntax highlighting for literal blocksNikita Nemkin2025-01-291-4/+12
| | | | | | | | | | | | | | | Covers almost all blocks containing actual code, except: * Parsed-literal blocks can't be highlighted, including many command summaries and substitution-heavy docs like find_... commands. This is a Sphinx limitation. * Code with errors, like CMP0049, DEPLOYMENT_ADDITIONAL_FILES, DEPLOYMENT_REMOTE_DIRECTORY, @PACKAGE_INIT@ substitution in the tutorial, bracket arguments/comments in cmake-language.7 and cmake-developer.7. * FindQt4 module, which needs reformatting.
* CMP0012: Remove support for OLD behaviorBrad King2025-01-171-2/+0
|
* Renumber post-3.31 development from 3.32 to 4.0Brad King2025-01-161-1/+1
| | | | Issue: #26613
* FindPython: add support for multiple searches in same directoryMarc Chevrier2025-01-111-39/+74
| | | | | | | | In some situations, like cross-compilation, it can be required to search for the host python interpreter as well as the cross-compilation development artifacts. By managing different prefixes for the artifacts, multiple and independent searches can be achieved.
* Merge topic 'Help-FindPython-Fix-typo'Marc Chevrier2024-12-221-1/+1
|\ | | | | | | | | | | | | e7ea2998fb Help: FindPython: fix typo Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10121
| * Help: FindPython: fix typoMarc Chevrier2024-12-211-1/+1
| |
* | FindPython: enhance Development artifacts lookup in virtual environmentMarc Chevrier2024-12-121-3/+3
|/ | | | | | | | To enable to locate development artifacts, in the context of virtual environment, without requiring Interpreter component, rely on the configuration file pyvenv.cfg. Fixes: #26505
* Merge topic 'FindPython-FIND_ABI'Brad King2024-09-161-1/+2
|\ | | | | | | | | | | | | | | | | f885b007b9 FindPython: ensure all ABI are searched by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Tested-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9819
| * FindPython: ensure all ABI are searched by defaultMarc Chevrier2024-09-121-1/+2
| | | | | | | | Fixes: #26279
* | Merge topic 'FindPython-free-threaded-python'Brad King2024-08-271-0/+5
|\ \ | |/ | | | | | | | | | | 10abd2ac5a FindPython: ensure a usable environment is set for the free threaded Python Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9775
| * FindPython: ensure a usable environment is set for the free threaded PythonMarc Chevrier2024-08-271-0/+5
| | | | | | | | | | | | | | | | Define the `Python_DEFINITIONS` variable for the support of free threaded Python developments on Windows. This is a complement to commit 9a0dee7257 (FindPython: Add support for free threaded python, 2024-05-30).
* | FindPython: Replace link to PyPy with its http redirectBrad King2024-07-191-1/+1
|/
* FindPython: Add support for free threaded pythonMarc Chevrier2024-06-041-14/+25
| | | | Fixes: #26016
* FindPython: On Windows, Enhance python debug version supportMarc Chevrier2024-05-091-2/+42
| | | | | | | | | | | | | | 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: update for distutils module deprecationMarc Chevrier2023-06-051-17/+7
| | | | Fixes: #24956
* FindPython: Cross-reference Python_FIND_{STRATEGY,UNVERSIONED_NAMES}Brad King2023-05-031-0/+4
| | | | | | Mention each variable in the documentation of the other. Issue: #24878
* FindPython: ensure Stable ABI is correctly handledMarc Chevrier2023-03-201-1/+1
| | | | Fixes: #24610
* FindPython: add support for Stable ABIMarc Chevrier2022-11-291-3/+65
| | | | Fixes: #24141
* FindPython: enhance SOABI computationMarc Chevrier2022-11-151-6/+5
| | | | Fixes: #24121, #23651
* Merge topic 'doc-improvements'Brad King2022-11-101-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4d1f85297 Help: Move a note about arguments and genexes into include file 968224484f Help: Drop unused `PROPERTY_GENEX` replace from `prop_tgt/INTERFACE_*` files 65457e4fae Help: Add _See Also_ sections to related CMake commands c86ec79d07 Help: Use direct refs to genexes instead of ``$<GENEX-NAME>`` 8c6274326d Help: Use CMake highlighting for command synopsis c356a94512 Help: Use monospaced font for a genex name in a section title f98c8707f4 Help: Use `code-block:: cmake` instead of `::` for sub-commands descriptions 2ba351ca4f Help: ``CMake`` → CMake ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7873
| * Help: ``CMake`` → CMakeAlex Turbov2022-11-071-2/+2
| |
* | Help: Fix some redirects reported with sphinx linkcheckAlex Turbov2022-11-071-3/+3
|/ | | | Mostly it's about replace `http:` with `https:` protocol.
* FindPython: clarify static libraries hint usageMarc Chevrier2021-12-011-0/+5
| | | | Fixes: #22956
* Help: Add `.. versionadded` directives to module docsNikita Nemkin2020-12-021-1/+1
| | | | Issue: #19715
* Help: FindPython: add version informationMarc Chevrier2020-12-011-14/+84
|
* FindPython: Adds control over artifact names to searchMarc Chevrier2020-11-031-0/+16
| | | | Fixes: #21371
* FindPython: Ensure Apple Xcode python 3 is usableMarc Chevrier2020-10-121-0/+3
| | | | | | | The python 3 distributed as part of Xcode requires the specification of a 'rpath' pointing at frameowrks root for a correct execution. Fixes: #21293
* FindPython: Add version range supportMarc Chevrier2020-09-301-5/+47
| | | | Fixes: #21107
* FindPython: fix typo in Python_LIBRARY_DIRSPhilipp Storz2020-09-111-1/+1
| | | | | | | | Fixes the wrong spelling of Python_LIBRARY_DIRS as "Python_LIBRAY_DIRS" which exists in - FindPython - FindPython2 - FindPython3
* Fix typos identified using codespellJean-Christophe Fillion-Robin2020-07-221-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/codespell-project/codespell#readme The following command was used: ``` codespell -q6 --skip="\ .git,\ *.json,\ ./Copyright.txt,\ ./Help/command/foreach.rst,\ ./Help/prop_test/REQUIRED_FILES.rst,\ ./Help/variable/CTEST_COVERAGE_COMMAND.rst,\ ./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\ ./Modules/CMakeRCInformation.cmake,\ ./Modules/Internal/CPack/NSIS.template.in,\ ./Modules/FindMatlab.cmake,\ ./Modules/MatlabTestsRedirect.cmake,\ ./Modules/Platform/Windows-Clang.cmake,\ ./Modules/Platform/Windows-Intel-Fortran.cmake,\ ./Modules/Platform/Windows-MSVC.cmake,\ ./Source/CMakeVersion.cmake,\ ./Source/cmConvertMSBuildXMLToJSON.py,\ ./Source/cmCreateTestSourceList.cxx,\ ./Source/cmGlobalVisualStudio10Generator.cxx,\ ./Source/cmExportBuildFileGenerator.cxx,\ ./Source/cmExportInstallAndroidMKGenerator.cxx,\ ./Source/cmExportInstallFileGenerator.cxx,\ ./Source/cmExportSet.cxx,\ ./Source/cmExportTryCompileFileGenerator.cxx,\ ./Source/cmFindPackageCommand.cxx,\ ./Source/cmInstallCommand.cxx,\ ./Source/cmGeneratorExpressionLexer.cxx,\ ./Source/cmLocalVisualStudio7Generator.cxx,\ ./Source/cmOrderDirectories.cxx,\ ./Source/cmTarget.cxx,\ ./Source/kwsys/*,\ ./Source/QtDialog/CMakeSetupDialog.ui,\ ./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\ ./Source/CTest/cmParseCoberturaCoverage.h,\ ./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\ ./Tests/RunCMake/GoogleTest/xml_output.cpp,\ ./Tests/RunCMake/Make/TargetMessages*,\ ./Utilities/*,\ " \ -L "\ dependees,\ endwhile,\ fo,\ filetest,\ helpfull,\ nd,\ objext,\ stoll,\ supercedes,\ superceded,\ vas,\ varn,\ " ```
* Help: Add Sphinx 'versionadded' directives to each top-level documentKitware Robot2020-07-061-0/+2
| | | | | | | Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
* FindPython: Add IronPython support on all platformsMarc Chevrier2020-05-111-1/+15
|
* FindPython: Add support for 'PyPy'Marc Chevrier2020-05-011-0/+6
|
* FindPython: Add capability to specify Python implementationsMarc Chevrier2020-04-281-0/+21
| | | | | | | | Through hint Python_FIND_IMPLEMENTATIONS it is possble to specify, as an ordered list, which implementations must be searched for. Currently possible values are: * CPython * IronPython
* FindPython: add sub-components to Development componentMarc Chevrier2020-04-161-10/+26
| | | | Fixes: #20425
* Help: FindPython: fix typos and add some clarificationsMarc Chevrier2020-04-111-9/+16
|
* Merge topic 'FindPython-polish'Brad King2020-03-251-8/+6
|\ | | | | | | | | | | | | bf1ecfef7f FindPython: misc. fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4519
| * FindPython: misc. fixesMarc Chevrier2020-03-241-8/+6
| | | | | | | | | | Help: Fix errors regardings HINTS. Code: Optimize Python signature cache variable to avoid unecessary searchs.
* | FindPython: Add possibility to control scope of artifacts.Marc Chevrier2020-03-051-0/+16
|/ | | | Fixes: #20362
* FindPython: python_add_library can now manage SOABI suffix.Marc Chevrier2020-03-031-2/+6
| | | | Fixes: #20408
* FindPython: Add variable Python_SOABIMarc Chevrier2020-01-091-0/+7
| | | | | | This variable holds the standard extension suffix for modules. Fixes: #20150
* FindPython: Extend virtual environment handling by considering condaSebastian Müller2019-12-211-6/+6
| | | | | | - Add functionality to recognize and use CONDA_PREFIX environment variable - Add tests for conda virtual environments - Fixes: #20111
* Help: Minor wording cleanup for Python modulesCraig Scott2019-10-271-2/+2
|
* FindPython: Add capability to specify directly artifactsMarc Chevrier2019-09-021-0/+50
| | | | Fixes: #19492
* FindPython: ensure virtual environments are correctly handledMarc Chevrier2019-08-051-0/+6
| | | | Fixes: #19525
* FindPython: add Python_FIND_ABI hint.Marc Chevrier2019-06-241-0/+45
| | | | This variable will enable to specify will ABIs will be searched.
* FindPython: Add variable 'Python_FIND_FRAMEWORK' to control frameworks lookup.Marc Chevrier2019-05-241-2/+7
|