summaryrefslogtreecommitdiffstats
path: root/Modules/AddFileDependencies.cmake
diff options
context:
space:
mode:
authorJoachim Wuttke (l) <j.wuttke@fz-juelich.de>2018-10-09 19:55:10 (GMT)
committerCraig Scott <craig.scott@crascit.com>2018-10-18 20:27:31 (GMT)
commit93f3f65516c65d79fe7bea54e883f1d767a99b6b (patch)
tree6a69af9d68f1fc06e312d4bc77740890af68e872 /Modules/AddFileDependencies.cmake
parentfc7ee1ca459c3b231aa1fb64aeeaee590c019513 (diff)
downloadCMake-93f3f65516c65d79fe7bea54e883f1d767a99b6b.zip
CMake-93f3f65516c65d79fe7bea54e883f1d767a99b6b.tar.gz
CMake-93f3f65516c65d79fe7bea54e883f1d767a99b6b.tar.bz2
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 fdd8432..999da95 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)