mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
@@ -199,6 +199,44 @@ Hints
|
||||
recommended to also include the component ``Interpreter`` to get expected
|
||||
result.
|
||||
|
||||
Artifacts Specification
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
To solve special cases, it is possible to specify directly the artifacts by
|
||||
setting the following variables:
|
||||
|
||||
``Python2_EXECUTABLE``
|
||||
The path to the interpreter.
|
||||
|
||||
``Python2_COMPILER``
|
||||
The path to the compiler.
|
||||
|
||||
``Python2_LIBRARY``
|
||||
The path to the library. It will be used to compute the
|
||||
variables ``Python2_LIBRARIES``, ``Python2_LIBRAY_DIRS`` and
|
||||
``Python2_RUNTIME_LIBRARY_DIRS``.
|
||||
|
||||
``Python2_INCLUDE_DIR``
|
||||
The path to the directory of the ``Python`` headers. It will be used to
|
||||
compute the variable ``Python2_INCLUDE_DIRS``.
|
||||
|
||||
``Python2_NumPy_INCLUDE_DIR``
|
||||
The path to the directory of the ``NumPy`` headers. It will be used to
|
||||
compute the variable ``Python2_NumPy_INCLUDE_DIRS``.
|
||||
|
||||
.. note::
|
||||
|
||||
All paths must be absolute. Any artifact specified with a relative path
|
||||
will be ignored.
|
||||
|
||||
.. note::
|
||||
|
||||
When an artifact is specified, all ``HINTS`` will be ignored and no search
|
||||
will be performed for this artifact.
|
||||
|
||||
If more than one artifact is specified, it is the user's responsability to
|
||||
ensure the consistency of the various artifacts.
|
||||
|
||||
Commands
|
||||
^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user