MacroAddFileDependencies — CMake 4.0.2 Documentation (original) (raw)

Deprecated since version 3.14.

MACRO_ADD_FILE_DEPENDENCIES( ...)

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

set_property(SOURCE APPEND PROPERTY OBJECT_DEPENDS ...)

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