summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-16 15:38:10 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-16 15:38:10 (GMT)
commit9859042c0501f444fbb9d5f2b78b5e563a97f71d (patch)
treecba2d2effe76932fa877d8d8da00c88407bbf6b3
parent1b3ab3318dcdabe074da3c95b54f9483d47f95be (diff)
downloadCMake-9859042c0501f444fbb9d5f2b78b5e563a97f71d.zip
CMake-9859042c0501f444fbb9d5f2b78b5e563a97f71d.tar.gz
CMake-9859042c0501f444fbb9d5f2b78b5e563a97f71d.tar.bz2
Help: Mention add_dependencies in add_custom_target DEPENDS option
This will direct readers looking to add target-level dependencies.
-rw-r--r--Help/command/add_custom_target.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/command/add_custom_target.rst b/Help/command/add_custom_target.rst
index 996d08e..5134a70 100644
--- a/Help/command/add_custom_target.rst
+++ b/Help/command/add_custom_target.rst
@@ -82,6 +82,9 @@ The options are:
(``CMakeLists.txt`` file). They will be brought up to date when
the target is built.
+ Use the :command:`add_dependencies` command to add dependencies
+ on other targets.
+
``SOURCES``
Specify additional source files to be included in the custom target.
Specified source files will be added to IDE project files for