Merge pull request #192 from GrimMaple/master

Add SDL2 fallback in backend_test\CMakeLists.txt
This commit is contained in:
Victor Bombi
2021-12-27 09:48:31 +01:00
committed by GitHub
2 changed files with 15 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ Notes:
* cmake options are IMGUI_STATIC (compiling as static library), IMGUI_FREETYPE (for using Freetype2) and FREETYPE_PATH (Freetype2 cmake install location) (only if cimgui is generated with freetype option)
* or as in https://github.com/sonoro1234/LuaJIT-ImGui/tree/master/build
For compiling with backends there is now an example with SDL2 and opengl3 in folder backend_test. It will generate a cimgui_sdl module and a test_sdl executable. You only need to provide SDL_PATH telling cmake where to look for SDL2 cmake installation.
For compiling with backends there is now an example with SDL2 and opengl3 in folder backend_test. It will generate a cimgui_sdl module and a test_sdl executable.
# using generator