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

Reply via email to