Help: Mention add_dependencies in add_custom_target DEPENDS option

This will direct readers looking to add target-level dependencies.
This commit is contained in:
Brad King 2014-12-16 10:38:10 -05:00
parent 1b3ab3318d
commit 9859042c05
1 changed files with 3 additions and 0 deletions

View File

@ -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