mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-13 21:28:30 +01:00
backend_test/example_sdlgpu3: thanks to @hgranthorner PR #291 with generation from cmake
This commit is contained in:
16
backend_test/example_sdlgpu3/README.md
Normal file
16
backend_test/example_sdlgpu3/README.md
Normal 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`
|
||||
|
Reference in New Issue
Block a user