diff options
Diffstat (limited to 'Modules/FindPython3.cmake')
-rw-r--r-- | Modules/FindPython3.cmake | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake index d8fc54a..f142c07 100644 --- a/Modules/FindPython3.cmake +++ b/Modules/FindPython3.cmake @@ -127,6 +127,8 @@ This module will set the following variables in your project ``Python3_COMPILER_ID`` A short string unique to the compiler. Possible values include: * IronPython +``Python3_DOTNET_LAUNCHER`` + The ``.Net`` interpreter. Only used by ``IronPython`` implementation. ``Python3_Development_FOUND`` System has the Python 3 development artifacts. ``Python3_Development.Module_FOUND`` @@ -285,7 +287,10 @@ Hints ``RPython translation toolchain`` to produce the python interpreter. See `PyPy <https://www.pypy.org>`_. - The default value is the list: ``CPython``, ``IronPython``. + The default value is: + + * Windows platform: ``CPython``, ``IronPython`` + * Other platforms: ``CPython`` .. note:: @@ -295,6 +300,12 @@ Hints ``Python3_FIND_STRATEGY=LOCATION``, each location will be search first for ``IronPython`` and second for ``CPython``. + .. note:: + + When ``IronPython`` is specified, on platforms other than ``Windows``, the + ``.Net`` interpreter (i.e. ``mono`` command) is expected to be available + through the ``PATH`` variable. + Artifacts Specification ^^^^^^^^^^^^^^^^^^^^^^^ @@ -307,6 +318,9 @@ setting the following variables: ``Python3_COMPILER`` The path to the compiler. +``Python3_DOTNET_LAUNCHER`` + The ``.Net`` interpreter. Only used by ``IronPython`` implementation. + ``Python3_LIBRARY`` The path to the library. It will be used to compute the variables ``Python3_LIBRARIES``, ``Python3_LIBRAY_DIRS`` and |