This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Be more consistent about naming targets and components
ClosedPublic

Authored by beanz on Aug 18 2016, 5:17 PM.

Details

Summary

The point of this patch is to have a consistent convention for naming build, check and install targets so that the targets can be constructed from the project name.

This change renames a bunch of CMake components and targets from libcxx to cxx. For each renamed target I've added a convenience target that matches the old target name and depends on the new target. This will preserve function of the old targets so that the change doesn't break the world. We can evaluate if it is worth removing the extra targets later.

Diff Detail

Event Timeline

beanz updated this revision to Diff 68637.Aug 18 2016, 5:17 PM
beanz retitled this revision from to [CMake] Be more consistent about naming targets and components.
beanz updated this object.
beanz added a reviewer: EricWF.
beanz added a subscriber: cfe-commits.
EricWF accepted this revision.Aug 24 2016, 3:20 PM
EricWF edited edge metadata.
This revision is now accepted and ready to land.Aug 24 2016, 3:20 PM
This revision was automatically updated to reflect the committed changes.