MacroAddFileDependencies¶
在 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.