[lldb-dev] Optional Dependencies in LLDB

Jonas Devlieghere via lldb-dev lldb-dev at lists.llvm.org
Wed Jan 8 15:10:51 PST 2020


On Wed, Jan 8, 2020 at 2:46 PM Adrian Prantl <aprantl at apple.com> wrote:
>
>
>
> > On Jan 6, 2020, at 11:17 AM, Jonas Devlieghere via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> >
> > Hey everyone,
> >
> > I just wanted to let you know that most of the work is complete for
> > auto-detecting optional dependencies in LLDB. Unless explicitly
> > specified, optional dependencies like editline will be enabled when
> > available and disabled otherwise.
>
> This "explicitly specified" mode makes it possible to declare that I want it to be hard error if an optional dependency is missing (e.g., to avoid silently dropping editline support by accident)?

Correct, setting any of the LLDB_ENABLE_* to ON and the dependency not
being found will cause a CMake configuration error.

>
> -- adrian


More information about the lldb-dev mailing list