summaryrefslogtreecommitdiff
path: root/Modules/AddFileDependencies.cmake
diff options
context:
space:
mode:
authorJoachim Wuttke (l) <j.wuttke@fz-juelich.de>2018-10-09 21:55:10 +0200
committerCraig Scott <craig.scott@crascit.com>2018-10-19 07:27:31 +1100
commit93f3f65516c65d79fe7bea54e883f1d767a99b6b (patch)
tree6a69af9d68f1fc06e312d4bc77740890af68e872 /Modules/AddFileDependencies.cmake
parentfc7ee1ca459c3b231aa1fb64aeeaee590c019513 (diff)
downloadcmake-93f3f65516c65d79fe7bea54e883f1d767a99b6b.tar.gz
Help: Revise docs of modules AddFileDependencies..CheckFunctionExists
* Replace '::' by '.. code-block:: cmake' wherever it makes sense. * Convert to definition list where appropriate. * Prefer '<placeholder>' over 'placeholder'.
Diffstat (limited to 'Modules/AddFileDependencies.cmake')
-rw-r--r--Modules/AddFileDependencies.cmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/Modules/AddFileDependencies.cmake b/Modules/AddFileDependencies.cmake
index fdd843266b..999da95677 100644
--- a/Modules/AddFileDependencies.cmake
+++ b/Modules/AddFileDependencies.cmake
@@ -5,9 +5,13 @@
# AddFileDependencies
# -------------------
#
-# ADD_FILE_DEPENDENCIES(source_file depend_files...)
+# Add dependencies to a source file.
#
-# Adds the given files as dependencies to source_file
+# .. code-block:: cmake
+#
+# ADD_FILE_DEPENDENCIES(<source> <files>)
+#
+# Adds the given ``<files>`` to the dependencies of file ``<source>``.
macro(ADD_FILE_DEPENDENCIES _file)