summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-16 15:38:43 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-16 15:38:43 (GMT)
commit953d34fd1fd004459704d4625aff54a9dcf9141b (patch)
tree351ef85a1a94814796228b69b116cc3571f7494d
parent9859042c0501f444fbb9d5f2b78b5e563a97f71d (diff)
downloadCMake-953d34fd1fd004459704d4625aff54a9dcf9141b.zip
CMake-953d34fd1fd004459704d4625aff54a9dcf9141b.tar.gz
CMake-953d34fd1fd004459704d4625aff54a9dcf9141b.tar.bz2
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.
-rw-r--r--Help/command/add_custom_command.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
index 9fbad4b..1307a58 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.