Files
clang-p2996/lldb/source/Plugins/ScriptInterpreter/Lua/CMakeLists.txt
Jonas Devlieghere bf03e17c57 [Lldb/Lua] Generate Lua Bindings
This patch uses SWIG to generate the Lua bindings for the SB API. It
covers most of the API, but some methods require a type map similar to
Python.

Discussion on the mailing list:
http://lists.llvm.org/pipermail/lldb-dev/2019-December/015812.html

Differential revision: https://reviews.llvm.org/D71235
2019-12-21 11:28:41 -08:00

14 lines
337 B
CMake

find_package(Lua REQUIRED)
add_lldb_library(lldbPluginScriptInterpreterLua PLUGIN
Lua.cpp
ScriptInterpreterLua.cpp
LINK_LIBS
lldbCore
lldbInterpreter
)
target_include_directories(lldbPluginScriptInterpreterLua PUBLIC ${LUA_INCLUDE_DIR})
target_link_libraries(lldbPluginScriptInterpreterLua INTERFACE ${LUA_LIBRARIES})