From 2ac98685f766a9b4728a83631071e6cdb9fe21ac Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 4 Apr 2025 04:46:03 +0200 Subject: [PATCH] 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. --- Modules/FindPike.cmake | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/Modules/FindPike.cmake b/Modules/FindPike.cmake index 5ad5c4f6f7..457e82adcf 100644 --- a/Modules/FindPike.cmake +++ b/Modules/FindPike.cmake @@ -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