mirror of
https://github.com/Kitware/CMake.git
synced 2025-05-08 22:37:04 +08:00
FindPike: Update documentation
- Added basic find module sections. - Removed description of what this module finds as the description is outdated (at the time of writing, it finds only pike interpreter and the include directory). This module didn't find the library yet.
This commit is contained in:
parent
3abb812218
commit
2ac98685f7
@ -5,16 +5,27 @@
|
||||
FindPike
|
||||
--------
|
||||
|
||||
Find Pike
|
||||
Finds the Pike compiler and interpreter. Pike is interpreted, general purpose,
|
||||
high-level, dynamic programming language.
|
||||
|
||||
This module finds if PIKE is installed and determines where the
|
||||
include files and libraries are. It also determines what the name of
|
||||
the library is. This code sets the following variables:
|
||||
Cache Variables
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
::
|
||||
The following cache variables may also be set:
|
||||
|
||||
PIKE_INCLUDE_PATH = path to where program.h is found
|
||||
PIKE_EXECUTABLE = full path to the pike binary
|
||||
``PIKE_INCLUDE_PATH``
|
||||
The directory containing ``program.h``.
|
||||
``PIKE_EXECUTABLE``
|
||||
Full path to the pike binary.
|
||||
|
||||
Examples
|
||||
^^^^^^^^
|
||||
|
||||
Finding Pike:
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
find_package(Pike)
|
||||
#]=======================================================================]
|
||||
|
||||
find_path(PIKE_INCLUDE_PATH program.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user