1 # - ADD_FILE_DEPENDENCIES(source_file depend_files...)
2 # Adds the given files as dependencies to source_file
5 MACRO(ADD_FILE_DEPENDENCIES _file)
7 GET_SOURCE_FILE_PROPERTY(_deps ${_file} OBJECT_DEPENDS)
9 SET(_deps ${_deps} ${ARGN})
14 SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES OBJECT_DEPENDS "${_deps}")
16 ENDMACRO(ADD_FILE_DEPENDENCIES)