A CMake compatible version of imgui
|
option(imgui_demo "Include demo code (ShowDemoWindow)" ON) |
|
option(imgui_shared "Build ImGui as a shared library" OFF) |
|
option(imgui_tables "Include ImGuis tables library" ON) |
|
option(imgui_widgets "Include ImGuis widget library" ON) |
|
set(imgui_version "v1.89.7" CACHE STRING "The ImGui version to use") |
|
set(imgui_renderer "Unknown" CACHE STRING "The ImGui renderer to use") |
|
set(imgui_platform "Unknown" CACHE STRING "The ImGui platform (backend) to use") |
Where the supported renderers & platforms are:
|
set(supported_renderers "DirectX9" "DirectX10" "DirectX11" "DirectX12" "Metal" "OpenGL2" "OpenGL3" "SDL_Renderer2" "SDL_Renderer3" "Vulkan" "WebGPU") |
|
set(supported_platforms "Unknown" "GLFW" "SDL2" "SDL3" "Win32" "Glut" "OSX" "Android") |
The original project and readme can be found here.