On Wed, Oct 30, 2019 at 11:52 AM Jim Ingham via lldb-dev <lldb-dev@lists.llvm.org> wrote: > > Except of course without the comment markers... > > > On Oct 30, 2019, at 11:36 AM, Jim Ingham <jing...@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@lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev _______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
Re: [lldb-dev] Making LLVM_DEFAULT_TARGET_TRIPLE available to lldb's cmakery
Davide Italiano via lldb-dev Wed, 30 Oct 2019 11:54:13 -0700
- [lldb-dev] Making LLVM_DEFAULT_TARGET_TRIPLE ... Jim Ingham via lldb-dev
- Re: [lldb-dev] Making LLVM_DEFAULT_TARGE... Jim Ingham via lldb-dev
- Re: [lldb-dev] Making LLVM_DEFAULT_T... Davide Italiano via lldb-dev
- Re: [lldb-dev] Making LLVM_DEFAULT_TARGE... Ted Woodward via lldb-dev
- Re: [lldb-dev] Making LLVM_DEFAULT_T... Jim Ingham via lldb-dev