[Lldb-commits] [lldb] [lldb/Commands] Add `scripting template list` command with auto discovery (PR #97273)
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 2 21:06:19 PDT 2024
================
@@ -29,6 +29,9 @@ add_subdirectory(UnwindAssembly)
set(LLDB_STRIPPED_PLUGINS)
get_property(LLDB_ALL_PLUGINS GLOBAL PROPERTY LLDB_PLUGINS)
+get_property(LLDB_EXTRA_PLUGINS GLOBAL PROPERTY LLDB_EXTRA_SCRIPT_PLUGINS)
+list(APPEND LLDB_ALL_PLUGINS ${LLDB_EXTRA_PLUGINS})
----------------
medismailben wrote:
I tried reusing `LLDB_ALL_PLUGINS` in `lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt` but I couldn't make it work: Either the scripted interface plugins wouldn't register or we would fail to link.
Not all the Python interfaces are registered so far, same for Lua, they will be added over time.
I'll leave it as is for now but feel free to change this after it lands :)
https://github.com/llvm/llvm-project/pull/97273
More information about the lldb-commits
mailing list