From f051814ed0e63badbfd68049354f36259dbf4b49 Mon Sep 17 00:00:00 2001 From: Kitware Robot Date: Tue, 15 Oct 2013 11:17:36 -0400 Subject: Convert builtin help to reStructuredText source files Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it. --- Modules/FindHg.cmake | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'Modules/FindHg.cmake') diff --git a/Modules/FindHg.cmake b/Modules/FindHg.cmake index a6a4aef242..a1fb33f3c0 100644 --- a/Modules/FindHg.cmake +++ b/Modules/FindHg.cmake @@ -1,12 +1,25 @@ +#.rst: +# FindHg +# ------ +# +# +# # The module defines the following variables: -# HG_EXECUTABLE - path to mercurial command line client (hg) -# HG_FOUND - true if the command line client was found -# HG_VERSION_STRING - the version of mercurial found +# +# :: +# +# HG_EXECUTABLE - path to mercurial command line client (hg) +# HG_FOUND - true if the command line client was found +# HG_VERSION_STRING - the version of mercurial found +# # Example usage: -# find_package(Hg) -# if(HG_FOUND) -# message("hg found: ${HG_EXECUTABLE}") -# endif() +# +# :: +# +# find_package(Hg) +# if(HG_FOUND) +# message("hg found: ${HG_EXECUTABLE}") +# endif() #============================================================================= # Copyright 2010-2012 Kitware, Inc. -- cgit v1.2.1