FindPython*: New implementation for Python stuff

Fixes: #16142
This commit is contained in:
Marc Chevrier
2018-02-22 16:18:43 +01:00
parent dfc9036bcf
commit 352baee207
24 changed files with 1604 additions and 2 deletions

View File

@@ -644,6 +644,8 @@ Documentation`_ section above.
.. _`CMake Developer Standard Variable Names`:
Standard Variable Names
^^^^^^^^^^^^^^^^^^^^^^^

View File

@@ -196,6 +196,9 @@ All Modules
/module/FindPostgreSQL
/module/FindProducer
/module/FindProtobuf
/module/FindPython
/module/FindPython2
/module/FindPython3
/module/FindPythonInterp
/module/FindPythonLibs
/module/FindQt3

View File

@@ -0,0 +1 @@
.. cmake-module:: ../../Modules/FindPython.cmake

View File

@@ -0,0 +1 @@
.. cmake-module:: ../../Modules/FindPython2.cmake

View File

@@ -0,0 +1 @@
.. cmake-module:: ../../Modules/FindPython3.cmake

View File

@@ -0,0 +1,5 @@
FindPython(2|3)
---------------
* The new :module:`FindPython3` and :module:`FindPython2` modules, as well as
:module:`FindPython`, provide a new way to locate python environments.