Implement UIs using RmlUi
This commit is contained in:
parent
8039b1276e
commit
7f37be386d
27 changed files with 1457 additions and 42 deletions
30
vendor/README.md
vendored
Normal file
30
vendor/README.md
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Vendor dependencies
|
||||
|
||||
TODO: This should be automated with shuriken at some point. For now, manual instructions.
|
||||
|
||||
|
||||
## System dependencies
|
||||
|
||||
For now, SDL3 and SDL3_image need to be installed on the system. They should be vendored at some point.
|
||||
|
||||
Same for freetype, which is required by RmlUi.
|
||||
|
||||
|
||||
## RmlUi
|
||||
|
||||
[RmlUi](https://github.com/mikke89/RmlUi) is a UI library.
|
||||
|
||||
Within the `vendor` directory, run:
|
||||
|
||||
```shell
|
||||
# Either clone git repository or download and unpack archive (version 6.2)
|
||||
git clone git@github.com:mikke89/RmlUi.git RmlUi --branch 6.2
|
||||
cd RmlUi
|
||||
|
||||
# Configure and build with cmake (use samples or standalone preset)
|
||||
cmake -G Ninja -B Build --preset samples -DBUILD_SHARED_LIBS=false -DRMLUI_BACKEND=SDL_SDLrenderer
|
||||
cmake --build Build
|
||||
|
||||
# Optionally test by running a sample
|
||||
./Build/rmlui_sample_demo
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue