فهرست منبع

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