backend_test/example_sdlgpu3: thanks to @hgranthorner PR #291 with generation from cmake

This commit is contained in:
sonoro1234
2025-03-22 17:36:09 +01:00
parent 334c9fa140
commit 4e3e9b5fb2
6 changed files with 316 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
# SDLGPU3
This example is a little different from the others, because `cimgui` doesn't come with bindings for the SDLGPU3 backend out of the box. Instead, this example shows how to generate the necessary bindings during cmake's configure time, then add the compiled library as a target for your application to link to.
For the generation phase from cmake you need LuaJIT to be present.
## Building
From the build directory of your choice:
`cmake path_to_example_sdlgpu3`
and after
`make`