diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst index 9fbad4bf6..1307a58c5 100644 --- a/Help/command/add_custom_command.rst +++ b/Help/command/add_custom_command.rst @@ -130,7 +130,8 @@ The options are: Specify the primary input source file to the command. This is treated just like any value given to the ``DEPENDS`` option but also suggests to Visual Studio generators where to hang - the custom command. + the custom command. At most one custom command may specify a + given source file as its main dependency. ``OUTPUT`` Specify the output files the command is expected to produce. diff --git a/Help/command/add_custom_target.rst b/Help/command/add_custom_target.rst index 996d08e7d..5134a70de 100644 --- a/Help/command/add_custom_target.rst +++ b/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