This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Tidy up the organisation of compiler-rt when configured as a standalone build with an IDE (e.g. Xcode) as the generator.
ClosedPublic

Authored by delcypher on Jun 20 2018, 10:10 AM.

Details

Summary

[CMake] Tidy up the organisation of compiler-rt when configured as a standalone
build with an IDE (e.g. Xcode) as the generator.

Previously the global USE_FOLDERS property wasn't set in standalone
builds leading to existing settings of FOLDER not being respected.

In addition to this there were several targets that appeared at the top
level that were not interesting and clustered up the view. These have
been changed to be displayed in "Compiler-RT Misc".

Now when an Xcode project is generated from a standalone compiler-rt
build the project navigator is much less cluttered. The interesting
libraries should appear in "Compiler-RT Libraries" in the IDE.

Diff Detail

Repository
rL LLVM

Event Timeline

delcypher created this revision.Jun 20 2018, 10:10 AM
Herald added subscribers: Restricted Project, mgorny, dberris. · View Herald TranscriptJun 20 2018, 10:10 AM

Okay with me. I would prefer to drop the "For IDEs" comments as they are just clutter.

Okay with me. I would prefer to drop the "For IDEs" comments as they are just clutter.

Sure. I'll update the patch.

delcypher updated this revision to Diff 152254.Jun 21 2018, 5:01 AM
delcypher retitled this revision from [NFC] Tidy up the organisation of compiler-rt when configured as a standalone build with an IDE (e.g. Xcode) as the generator. to [CMake] Tidy up the organisation of compiler-rt when configured as a standalone build with an IDE (e.g. Xcode) as the generator..
delcypher edited the summary of this revision. (Show Details)

Drop unnecessary comments.

george.karpenkov accepted this revision.Jun 26 2018, 5:55 PM

Aha, so that's what PROPERTIES FOLDER properties are for!

This revision is now accepted and ready to land.Jun 26 2018, 5:55 PM
delcypher updated this revision to Diff 153060.Jun 27 2018, 5:55 AM

Rebased on trunk

This revision was automatically updated to reflect the committed changes.