This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Use add_dependencies in add_llvm_install_targets
ClosedPublic

Authored by xiaobai on Apr 18 2019, 10:45 AM.

Details

Summary

The CMake documentation says that the DEPENDS field of
add_custom_target is for files and output of custom commands. Adding a
dependency on a target should be done with add_dependencies.

Diff Detail

Repository
rL LLVM

Event Timeline

xiaobai created this revision.Apr 18 2019, 10:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 18 2019, 10:45 AM
Herald added a subscriber: mgorny. · View Herald Transcript
xiaobai edited the summary of this revision. (Show Details)Apr 18 2019, 10:51 AM
compnerd accepted this revision.Apr 23 2019, 8:20 AM

*sigh* CMake - that is subtle.

This revision is now accepted and ready to land.Apr 23 2019, 8:20 AM
smeenai accepted this revision.Apr 23 2019, 11:20 AM
This revision was automatically updated to reflect the committed changes.