1
0
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:
Peter Kokot 2025-04-04 04:46:03 +02:00
parent 3abb812218
commit 2ac98685f7
No known key found for this signature in database
GPG Key ID: A94800907AA79B36

View File

@ -5,16 +5,27 @@
FindPike 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 Cache Variables
include files and libraries are. It also determines what the name of ^^^^^^^^^^^^^^^
the library is. This code sets the following variables:
:: The following cache variables may also be set:
PIKE_INCLUDE_PATH = path to where program.h is found ``PIKE_INCLUDE_PATH``
PIKE_EXECUTABLE = full path to the pike binary 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 find_path(PIKE_INCLUDE_PATH program.h