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:
parent
1b3ab3318d
commit
9859042c05
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue