Browse Source

Help: Mention add_dependencies in add_custom_target DEPENDS option

This will direct readers looking to add target-level dependencies.
Brad King 11 years ago
parent
commit
9859042c05
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Help/command/add_custom_target.rst

+ 3 - 0
Help/command/add_custom_target.rst

@@ -82,6 +82,9 @@ The options are:
   (``CMakeLists.txt`` file).  They will be brought up to date when
   (``CMakeLists.txt`` file).  They will be brought up to date when
   the target is built.
   the target is built.
 
 
+  Use the :command:`add_dependencies` command to add dependencies
+  on other targets.
+
 ``SOURCES``
 ``SOURCES``
   Specify additional source files to be included in the custom target.
   Specify additional source files to be included in the custom target.
   Specified source files will be added to IDE project files for
   Specified source files will be added to IDE project files for