<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hi lldb-dev.  </div><div class=""><br class=""></div><div class="">I can’t seem to figure out how to build a debug lldb on windows.   It wants to link against a debug version of Python, which isn’t there.</div><div class=""><br class=""></div><div class="">My cmake line looks like this:</div><div class=""><br class=""></div><div class=""><font face="Courier" class="">cmake -G Ninja `                                                                                                                                                       <br class="">        "-DPYTHON_HOME=C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64" `                                                                            <br class="">        "-DLLVM_ENABLE_PROJECTS=clang;lldb;libcxx;libcxxabi;lld" `                                                                                                     <br class=""><span class="Apple-tab-span" style="white-space:pre">  </span>"-DSWIG_EXECUTABLE=C:\ProgramData\chocolatey\bin\swig.exe" `                                                                                                   <br class="">        "C:\Users\smoofra\llvm-project\llvm"                                                                                                                           <br class=""></font><br class=""></div><div class="">I also made this change, to tell it to link against the release python.</div><div class=""><br class=""></div><div class=""><font face="Courier" class="">--- a/lldb/cmake/modules/LLDBConfig.cmake<br class="">+++ b/lldb/cmake/modules/LLDBConfig.cmake<br class="">@@ -227,7 +227,7 @@ function(find_python_libs_windows)<br class="">   else()<br class="">     # Lookup for concrete python installation depending on build type<br class="">     if (CMAKE_BUILD_TYPE STREQUAL Debug)<br class="">-      set(LOOKUP_DEBUG_PYTHON TRUE)<br class="">+      set(LOOKUP_DEBUG_PYTHON FALSE)<br class="">     else()<br class="">       set(LOOKUP_DEBUG_PYTHON FALSE)<br class="">     endif()<br class=""></font><br class=""></div><div class="">But somehow at the very end, the link still fails because python37_d.lib isn’t there.</div><div class=""><br class=""></div><div class="">Anybody know what I’m doing wrong?  Thank you.</div></div></body></html>