MacroAddFileDependencies

From Get docs
Cmake/docs/3.21/module/macroaddfiledependencies


MacroAddFileDependencies

Deprecated since version 3.14.


MACRO_ADD_FILE_DEPENDENCIES(<source> <files>...)

Do not use this command in new code. It is just a wrapper around:

set_property(SOURCE <source> APPEND PROPERTY OBJECT_DEPENDS <files>...)

Instead use the set_property() command to append to the OBJECT_DEPENDS source file property directly.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/module/MacroAddFileDependencies.html