Commit d1e8a024 authored by Brad King's avatar Brad King

Help: Refine manual/*.1.rst usage summaries

Use a parsed-literal block to list possible command-line signatures.
Add an "Options" section header before the list of options.
parent f4253d7b
......@@ -6,10 +6,9 @@ ccmake(1)
Synopsis
========
::
.. parsed-literal::
ccmake <path-to-source>
ccmake <path-to-existing-build>
ccmake [<options>] (<path-to-source> | <path-to-existing-build>)
Description
===========
......@@ -25,6 +24,9 @@ in each directory of a source tree with the name CMakeLists.txt.
Users build a project by using CMake to generate a build system for a
native tool on their platform.
Options
=======
.. include:: OPTIONS_BUILD.txt
.. include:: OPTIONS_HELP.txt
......
......@@ -6,11 +6,10 @@ cmake-gui(1)
Synopsis
========
::
.. parsed-literal::
cmake-gui [options]
cmake-gui [options] <path-to-source>
cmake-gui [options] <path-to-existing-build>
cmake-gui [<options>]
cmake-gui [<options>] (<path-to-source> | <path-to-existing-build>)
Description
===========
......@@ -25,6 +24,9 @@ in each directory of a source tree with the name CMakeLists.txt.
Users build a project by using CMake to generate a build system for a
native tool on their platform.
Options
=======
.. include:: OPTIONS_HELP.txt
See Also
......
......@@ -6,10 +6,13 @@ cmake(1)
Synopsis
========
::
.. parsed-literal::
cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>
cmake [<options>] (<path-to-source> | <path-to-existing-build>)
cmake [(-D<var>=<value>)...] -P <cmake-script-file>
cmake --build <dir> [<options>] [-- <build-tool-options>...]
cmake -E <command> [<options>]
cmake --find-package <options>...
Description
===========
......@@ -25,6 +28,9 @@ in each directory of a source tree with the name CMakeLists.txt.
Users build a project by using CMake to generate a build system for a
native tool on their platform.
Options
=======
.. include:: OPTIONS_BUILD.txt
* ``-E``: CMake command mode.
......
......@@ -6,9 +6,9 @@ cpack(1)
Synopsis
========
::
.. parsed-literal::
cpack -G <generator> [options]
cpack -G <generator> [<options>]
Description
===========
......@@ -24,6 +24,8 @@ in each directory of a source tree with the name CMakeLists.txt.
Users build a project by using CMake to generate a build system for a
native tool on their platform.
Options
=======
* ``-G <generator>``: Use the specified generator to generate package.
......
......@@ -6,9 +6,9 @@ ctest(1)
Synopsis
========
::
.. parsed-literal::
ctest [options]
ctest [<options>]
Description
===========
......@@ -18,6 +18,8 @@ CMake-generated build trees created for projects that use the
ENABLE_TESTING and ADD_TEST commands have testing support. This
program will run the tests and report results.
Options
=======
* ``-C <cfg>, --build-config <cfg>``: Choose configuration to test.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment