enable lua
This commit is contained in:
@@ -9,8 +9,8 @@ Mosis Designer is a Windows desktop application for previewing RML/RCSS files us
|
||||
## Build Commands
|
||||
|
||||
```bash
|
||||
# Configure the build (requires vcpkg for glfw3 and freetype)
|
||||
cmake -B build
|
||||
# Configure the build (requires vcpkg toolchain for dependencies)
|
||||
cmake -B build -DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||
|
||||
# Build debug
|
||||
cmake --build build --config Debug
|
||||
@@ -35,15 +35,17 @@ The application watches the parent directory of the loaded file for changes and
|
||||
|
||||
Single-file C++23 application (`main.cpp`) that:
|
||||
- Uses RmlUi for rendering HTML/CSS-like markup (RML/RCSS)
|
||||
- Uses RmlUi Lua bindings for scripting support in RML documents
|
||||
- Uses GLFW + OpenGL 3 backend from RmlUi
|
||||
- Windows-specific file watching via `FindFirstChangeNotification`
|
||||
- Automatically loads all `.ttf` fonts from the RML file's directory
|
||||
|
||||
## Dependencies
|
||||
|
||||
- **RmlUi**: Fetched via CMake FetchContent from GitHub
|
||||
- **RmlUi**: Fetched via CMake FetchContent from GitHub (with Lua bindings enabled)
|
||||
- **GLFW3**: Via vcpkg
|
||||
- **FreeType**: Via vcpkg
|
||||
- **Lua**: Via vcpkg (5.4.x)
|
||||
|
||||
## Code Style
|
||||
|
||||
|
||||
Reference in New Issue
Block a user