This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Move standalone check so we don't have to reconfigure LLDB
ClosedPublic

Authored by JDevlieghere on Jul 16 2019, 2:48 PM.

Details

Summary

By moving the standalone check into the main CMake file, the whole file is ignored in a regular (non-standalone) build. This means that you can make changes to LLDBStandalone.cmake without having to reconfigure a build in a different directory. This matters when you share one source repository with different build directories (e.g. release-assert, debug, standalone).

Diff Detail

Repository
rL LLVM

Event Timeline

JDevlieghere created this revision.Jul 16 2019, 2:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 16 2019, 2:48 PM
Herald added subscribers: teemperor, jfb. · View Herald Transcript
amccarth added inline comments.
lldb/CMakeLists.txt
14 ↗(On Diff #210185)

Nit: s/an/a/

This revision is now accepted and ready to land.Jul 17 2019, 4:25 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 17 2019, 9:46 AM