2023-07-02 19:51:09 +02:00
|
|
|
CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY
|
|
|
|
----------------------------------------------
|
|
|
|
|
|
|
|
.. versionadded:: 3.27
|
|
|
|
|
2023-08-11 12:02:15 +02:00
|
|
|
Whether to enable the ``DEPENDS_EXPLICIT_ONLY`` option by default in
|
2023-07-02 19:51:09 +02:00
|
|
|
:command:`add_custom_command`.
|
|
|
|
|
|
|
|
This variable affects the default behavior of the :command:`add_custom_command`
|
2023-08-11 12:02:15 +02:00
|
|
|
command. Setting this variable to ``ON`` is equivalent to using the
|
|
|
|
``DEPENDS_EXPLICIT_ONLY`` option in all uses of that command.
|
|
|
|
|
|
|
|
See also :variable:`CMAKE_OPTIMIZE_DEPENDENCIES`.
|