JUCE Meets LUA
WORK IN PROGRESS: For license information please refer to juce.com/get-juce
Projects
Bindings
In your CMakeLists.txt
:
find_package(sol2 REQUIRED)
add_subdirectory(path/to/jml/modules)
target_link_libraries(YourApplication
PRIVATE
# This includes all JUCE modules for which bindings have been created
mc::mc_lua_juce
# You could also only link to individual modules
# mc::mc_lua_juce_core
# mc::mc_lua_juce_events
# ...
PUBLIC
# Required for bindings
sol2::sol2
)
In your source code:
#include <mc_lua_juce/mc_lua_juce.hpp>
auto state = sol::state{};
state.open_libraries(sol::lib::base, sol::lib::package, sol::lib::string);
mc::lua::bindings::allJuceModules(state);
Tools
jml-cli
- Run unit tests. See Test.hpp
- Create component snapshot images. See Snapshot.hpp
jml-viewer
- ToDo
jml-designer
- ToDo