1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-05-09 06:42:18 +08:00

FindCVS: Update documentation

- Module docs format synced with other similar find modules.
- Example changed a bit as the found message and path to executable
  is already output by find_package().
This commit is contained in:
Peter Kokot 2025-03-25 22:44:42 +01:00
parent 080c1a4e17
commit ac777ea9f8
No known key found for this signature in database
GPG Key ID: A94800907AA79B36

View File

@ -5,23 +5,35 @@
FindCVS FindCVS
------- -------
Find the Concurrent Versions System (CVS). Finds the Concurrent Versions System (CVS).
The module defines the following variables: Result Variables
^^^^^^^^^^^^^^^^
:: This module defines the following variables:
CVS_EXECUTABLE - path to cvs command line client ``CVS_FOUND``
CVS_FOUND - true if the command line client was found True if the command-line client was found.
Example usage: Cache Variables
^^^^^^^^^^^^^^^
The following cache variables may also be set:
``CVS_EXECUTABLE``
Path to ``cvs`` command-line client.
Examples
^^^^^^^^
Finding CVS and executing it in a process:
.. code-block:: cmake .. code-block:: cmake
find_package(CVS) find_package(CVS)
if(CVS_FOUND) if(CVS_FOUND)
message("CVS found: ${CVS_EXECUTABLE}") execute_process(COMMAND ${CVS_EXECUTABLE} --help)
endif() endif()
#]=======================================================================] #]=======================================================================]
# CVSNT # CVSNT