mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05:00
Help: Improved MAIN_DEPENDENCY documentation of add_custom_command()
This commit is contained in:
@@ -146,8 +146,10 @@ 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. At most one custom command may specify a
|
the custom command. Each source file may have at most one command
|
||||||
given source file as its main dependency.
|
specifying it as its main dependency. A compile command (i.e. for a
|
||||||
|
library or an executable) counts as an implicit main dependency which
|
||||||
|
gets silently overwritten by a custom command specification.
|
||||||
|
|
||||||
``OUTPUT``
|
``OUTPUT``
|
||||||
Specify the output files the command is expected to produce.
|
Specify the output files the command is expected to produce.
|
||||||
|
|||||||
Reference in New Issue
Block a user