[Lldb-commits] [lldb] [lldb][cmake] Add clang resource dir to LLDB shell tests config (PR #136761)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 29 11:55:21 PDT 2025


================
@@ -1,6 +1,12 @@
 add_custom_target(lldb-shell-test-deps)
 set_target_properties(lldb-shell-test-deps PROPERTIES FOLDER "LLDB/Tests")
 add_dependencies(lldb-shell-test-deps lldb-test-depends)
+if(LLDB_BUILT_STANDALONE)
+  get_target_property(CLANG_RESOURCE_DIR clang-resource-headers INTERFACE_INCLUDE_DIRECTORIES)
----------------
bulbazord wrote:

In `LLDBStandalone.cmake` we already compute the clang resource dir and put it into the variable `LLDB_EXTERNAL_CLANG_RESOURCE_DIR`. You could probably just reference that variable instead of recalculating it here.

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


More information about the lldb-commits mailing list