summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-12-10 04:14:39 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-12-10 04:15:29 (GMT)
commit464bc12bb77c1d7cfea62392c17dbdbdc711fbea (patch)
treedaf776e694c5f488caeb116e8f9ca81e5d2b40b6 /Help/command
parent131f9c9efaaa4a3bd858ea40690eb6abeab4dfff (diff)
downloadCMake-464bc12bb77c1d7cfea62392c17dbdbdc711fbea.zip
CMake-464bc12bb77c1d7cfea62392c17dbdbdc711fbea.tar.gz
CMake-464bc12bb77c1d7cfea62392c17dbdbdc711fbea.tar.bz2
Help/create_test_sourcelist: format arguments in the signature docs
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/create_test_sourcelist.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/command/create_test_sourcelist.rst b/Help/command/create_test_sourcelist.rst
index 0755bf0..5f01a8b 100644
--- a/Help/command/create_test_sourcelist.rst
+++ b/Help/command/create_test_sourcelist.rst
@@ -5,10 +5,10 @@ Create a test driver and source list for building test programs.
.. code-block:: cmake
- create_test_sourcelist(sourceListName driverName
- test1 test2 test3
- EXTRA_INCLUDE include.h
- FUNCTION function)
+ create_test_sourcelist(<sourceListName> <driverName>
+ <tests> ...
+ [EXTRA_INCLUDE <include>]
+ [FUNCTION <function>])
A test driver is a program that links together many small tests into a single
executable. This is useful when building static executables with large