Marc Chevrier
328d847f70
FindPython: enhance SOABI computation
...
Fixes : #24121 , #23651
2022-11-15 16:54:44 +01:00
Brad King
e159b5b2ae
Merge topic 'doc-improvements'
...
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
2022-11-10 10:11:22 -05:00
Alex Turbov
2ba351ca4f
Help: `CMake
` → CMake
2022-11-07 22:55:06 +04:00
Alex Turbov
435b0c573c
Help: Fix some redirects reported with sphinx linkcheck
...
Mostly it's about replace `http:` with `https:` protocol.
2022-11-07 10:07:36 -05:00
Marc Chevrier
a35bf772de
FindPython: clarify static libraries hint usage
...
Fixes : #22956
2021-12-01 10:06:45 -05:00
Nikita Nemkin
8fea95319b
Help: Add .. versionadded
directives to module docs
...
Issue: #19715
2020-12-02 21:00:30 +05:00
Marc Chevrier
ee6f37d606
Help: FindPython: add version information
2020-12-01 11:53:30 +01:00
Marc Chevrier
e452f6e2cf
FindPython: Adds control over artifact names to search
...
Fixes : #21371
2020-11-03 15:12:58 +01:00
Marc Chevrier
5772ca0a53
FindPython: Ensure Apple Xcode python 3 is usable
...
The python 3 distributed as part of Xcode requires the specification
of a 'rpath' pointing at frameowrks root for a correct execution.
Fixes : #21293
2020-10-12 15:45:55 +02:00
Marc Chevrier
e4b7049230
FindPython: Add version range support
...
Fixes : #21107
2020-09-30 14:30:23 +02:00
Philipp Storz
b564ced24f
FindPython: fix typo in Python_LIBRARY_DIRS
...
Fixes the wrong spelling of Python_LIBRARY_DIRS as
"Python_LIBRAY_DIRS" which exists in
- FindPython
- FindPython2
- FindPython3
2020-09-11 20:35:34 +02:00
Jean-Christophe Fillion-Robin
207373802e
Fix typos identified using codespell
...
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,\
"
```
2020-07-22 12:44:47 -04:00
Kitware Robot
496ec6036f
Help: Add Sphinx 'versionadded' directives to each top-level document
...
Run the `Utilities/Sphinx/update_versions.py` script to add initial
markup to every top-level document and find module.
Issue: #19715
2020-07-06 10:23:20 -04:00
Marc Chevrier
e8ffc60220
FindPython: Add IronPython support on all platforms
2020-05-11 14:02:59 +02:00
Marc Chevrier
c1ef70d4d1
FindPython: Add support for 'PyPy'
2020-05-01 15:03:04 +02:00
Marc Chevrier
d2c47c822b
FindPython: Add capability to specify Python implementations
...
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
2020-04-28 13:56:18 +02:00
Marc Chevrier
c1b4044d3e
FindPython: add sub-components to Development component
...
Fixes : #20425
2020-04-16 14:38:39 +02:00
Marc Chevrier
525c730afe
Help: FindPython: fix typos and add some clarifications
2020-04-11 12:57:23 +02:00
Brad King
f2b4576373
Merge topic 'FindPython-polish'
...
bf1ecfef7f
FindPython: misc. fixes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4519
2020-03-25 08:13:07 -04:00
Marc Chevrier
bf1ecfef7f
FindPython: misc. fixes
...
Help: Fix errors regardings HINTS.
Code: Optimize Python signature cache variable to avoid unecessary searchs.
2020-03-24 18:26:16 +01:00
Marc Chevrier
e5b4c74238
FindPython: Add possibility to control scope of artifacts.
...
Fixes : #20362
2020-03-05 16:44:48 +01:00
Marc Chevrier
0c97b73bc0
FindPython: python_add_library can now manage SOABI suffix.
...
Fixes : #20408
2020-03-03 13:13:48 +01:00
Marc Chevrier
61502d3956
FindPython: Add variable Python_SOABI
...
This variable holds the standard extension suffix for modules.
Fixes : #20150
2020-01-09 14:43:22 +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
Craig Scott
9914b90f4a
Help: Minor wording cleanup for Python modules
2019-10-27 21:36:31 +11:00
Marc Chevrier
06d9e67fbd
FindPython: Add capability to specify directly artifacts
...
Fixes : #19492
2019-09-02 17:20:53 +02:00
Marc Chevrier
7ed84b1e8f
FindPython: ensure virtual environments are correctly handled
...
Fixes : #19525
2019-08-05 18:20:29 +02:00
Marc Chevrier
9201908ca5
FindPython: add Python_FIND_ABI hint.
...
This variable will enable to specify will ABIs will be searched.
2019-06-24 12:00:21 +02:00
Marc Chevrier
62d6ed79fb
FindPython: Add variable 'Python_FIND_FRAMEWORK' to control frameworks lookup.
2019-05-24 18:44:43 +02:00
Marc Chevrier
8517b549f4
FindPython: Add policy to manage lookup stratgey default.
2019-05-21 16:13:27 +02:00
Marc Chevrier
9f205acefe
FindPython: Implement lookup strategies.
...
Configration variable Python_FIND_STRATEGY controls the lookup startegy.
Possible values are LOCATION and VERSION.
Fixes : #19159
2019-05-21 16:13:27 +02:00
Marc Chevrier
30b873c05d
FindPython*: Manage weak link for Python modules
...
Add new target Python::Module which take care of platform requirements
for Python module development.
Fixes : #18100
2019-05-07 16:37:24 +02:00
Marc Chevrier
8a2f62cc18
FindPython*: Add capability to control virtual env handling.
...
Fixes : #19097
2019-04-03 09:16:17 +02:00
Marc Chevrier
9a84cb1663
FindPython*: ensure correct architecture is selected.
...
Ensure interpreter and libraries architecture matches CMake build
configuration.
Update documentation about interpreter constraints.
Fixes : #19024
2019-03-14 18:53:57 +01:00
Hiroshi Miura
513e77550d
FindPython: Introduce NumPy component
...
Fixes : #18678
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-01-25 01:26:48 +09:00
Kyle Edwards
e4541b0e3d
FindPython: Support script mode
...
Fixes : #18827
2019-01-23 13:51:09 -05:00
Marc Chevrier
63c9356544
FindPython*: fix erroneous handling of virtual environments
...
fixes : #18408
2018-10-02 11:09:45 +02:00
Marc Chevrier
329f6aeca5
FindPython*: Windows: add facility to select lookup order for registry.
...
Fixes : #18302
2018-09-12 10:04:05 +02:00
Marc Chevrier
ffb560adc9
FindPython*: MacOS: Fix erroneous handling of Frameworks.
...
Fixes : #18204
2018-09-12 10:04:04 +02:00
Marc Chevrier
b1fd2bbe75
FindPython: enhance multiple major versions lookup
2018-04-03 09:41:19 +02:00
Marc Chevrier
352baee207
FindPython*: New implementation for Python stuff
...
Fixes : #16142
2018-03-20 09:29:44 +01:00