[Lldb-commits] [lldb] [lldb-dap] Split lldb-dap into library and tool (NFC) (PR #139402)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Sun May 11 12:11:27 PDT 2025


================
@@ -85,10 +76,11 @@ add_lldb_tool(lldb-dap
     Support
   )
 
-target_include_directories(lldb-dap PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
+target_include_directories(lldbDAP
+  PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR_DIR})
----------------
JDevlieghere wrote:

Good catch, I added `CMAKE_CURRENT_BINARY_DIR` just to be future proof but as nothing relies on this yet I didn't notice it wasn't working.

https://github.com/llvm/llvm-project/pull/139402


More information about the lldb-commits mailing list