summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Installing and Testing.rst
diff options
context:
space:
mode:
authorJosef Angstenberger <code@jtxa.de>2021-06-10 22:20:58 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-17 15:57:56 (GMT)
commit9e5bbb69eaa21830e1e306e0705ba32213def064 (patch)
treee2fda3a4dad99938d83f6a3d21039bca399d7e0b /Help/guide/tutorial/Installing and Testing.rst
parentfe60154fe8efc7528da92f6b9a6b17a6f9d4a179 (diff)
downloadCMake-9e5bbb69eaa21830e1e306e0705ba32213def064.zip
CMake-9e5bbb69eaa21830e1e306e0705ba32213def064.tar.gz
CMake-9e5bbb69eaa21830e1e306e0705ba32213def064.tar.bz2
Tutorial: Add captions for code blocks
Diffstat (limited to 'Help/guide/tutorial/Installing and Testing.rst')
-rw-r--r--Help/guide/tutorial/Installing and Testing.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/guide/tutorial/Installing and Testing.rst b/Help/guide/tutorial/Installing and Testing.rst
index 8bab454..53f0363 100644
--- a/Help/guide/tutorial/Installing and Testing.rst
+++ b/Help/guide/tutorial/Installing and Testing.rst
@@ -13,12 +13,14 @@ executable and configured header.
So to the end of ``MathFunctions/CMakeLists.txt`` we add:
.. literalinclude:: Step5/MathFunctions/CMakeLists.txt
+ :caption: MathFunctions/CMakeLists.txt
:language: cmake
:start-after: # install rules
And to the end of the top-level ``CMakeLists.txt`` we add:
.. literalinclude:: Step5/CMakeLists.txt
+ :caption: CMakeLists.txt
:language: cmake
:start-after: # add the install targets
:end-before: # enable testing
@@ -62,6 +64,7 @@ file we can enable testing and then add a number of basic tests to verify that
the application is working correctly.
.. literalinclude:: Step5/CMakeLists.txt
+ :caption: CMakeLists.txt
:language: cmake
:start-after: # enable testing