mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
Add variable CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY
Add CMake variable `CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY` to enable option `DEPENDS_EXPLICIT_ONLY` on all uses of `add_custom_command`. Fixes: #17097
This commit is contained in:
@@ -49,7 +49,8 @@ bool cmAddCustomCommandCommand(std::vector<std::string> const& args,
|
||||
bool append = false;
|
||||
bool uses_terminal = false;
|
||||
bool command_expand_lists = false;
|
||||
bool depends_explicit_only = false;
|
||||
bool depends_explicit_only =
|
||||
mf.IsOn("CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY");
|
||||
std::string implicit_depends_lang;
|
||||
cmImplicitDependsList implicit_depends;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user