Help: Document MAIN_DEPENDENCY limitation in add_custom_command

Specify explicitly that at most one custom command may use a given
source file as its main dependency.
This commit is contained in:
Brad King 2014-12-16 10:38:43 -05:00
parent 9859042c05
commit 953d34fd1f
1 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,8 @@ The options are:
Specify the primary input source file to the command. This is Specify the primary input source file to the command. This is
treated just like any value given to the ``DEPENDS`` option treated just like any value given to the ``DEPENDS`` option
but also suggests to Visual Studio generators where to hang 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`` ``OUTPUT``
Specify the output files the command is expected to produce. Specify the output files the command is expected to produce.