CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY

Added in version 3.27.

Whether to enable the DEPENDS_EXPLICIT_ONLY option by default in add_custom_command().

This variable affects the default behavior of the add_custom_command() command. Setting this variable to ON is equivalent to using the DEPENDS_EXPLICIT_ONLY option in all uses of that command.

See also CMAKE_OPTIMIZE_DEPENDENCIES.

© 2000–2024 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY.html