瀏覽代碼

Help: Mention add_dependencies in add_custom_target DEPENDS option

This will direct readers looking to add target-level dependencies.
Brad King 11 年之前
父節點
當前提交
9859042c05
共有 1 個文件被更改,包括 3 次插入0 次删除
  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
   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