[lldb-dev] Making LLVM_DEFAULT_TARGET_TRIPLE available to lldb's cmakery

Davide Italiano via lldb-dev lldb-dev at lists.llvm.org
Wed Oct 30 11:53:19 PDT 2019


On Wed, Oct 30, 2019 at 11:52 AM Jim Ingham via lldb-dev
<lldb-dev at lists.llvm.org> wrote:
>
> Except of course without the comment markers...
>
> > On Oct 30, 2019, at 11:36 AM, Jim Ingham <jingham at apple.com> wrote:
> >
> > Anyway, another way to do this would be something like:
> >
> > #if (${LLVM_DEFAULT_TARGET_TRIPLE})
> >  string(REGEX MATCH "^[^-]*" LLDB_DEBUGSERVER_ARCH "${LLVM_DEFAULT_TARGET_TRIPLE}")
> > #else()
> > #  set(LLDB_DEBUGSERVER_ARCH "")
> > #endif()
> >
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


More information about the lldb-dev mailing list