mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Export Dear ImGui as CMake's ImGui package.
Options:
- ImGui_USER_CONFIG;
- ImGui_EXAMPLES;
- ImGui_BACKENDS;
- ImGui_MISC;
- ImGui_3RDPARTY;
- ImGui_OPENGL_LOADER;
- ImGui_FREETYPE;
- ImGui_TOOLS;
- ImGui_PACKAGE.
Export targets:
- ImGui::Core;
- ImGui::ImplGLUT;
- ImGui::ImplSDL2;
- ImGui::ImplSDLRenderer2;
- ImGui::ImplSDL3;
- ImGui::ImplSDLRenderer3;
- ImGui::ImplGlfw;
- ImGui::ImplOpenGL2;
- ImGui::ImplOpenGL3;
- ImGui::ImplVulkan;
- ImGui::FreeType;
- ImGui::StdLib;
- ImGui::BinaryToCompressedC.
Import targets from:
- build directory;
- installed package.
Examples:
- example_null;
- example_glut_opengl2
- example_sdl2_sdlrenderer2;
- example_sdl2_opengl2;
- example_sdl2_opengl3;
- example_sdl2_vulkan;
- example_sdl3_sdlrenderer3;
- example_sdl3_opengl3;
- example_sdl3_vulkan;
- example_glfw_opengl2;
- example_glfw_opengl3;
- example_glfw_vulkan.
Presets:
- vcpkg (require $env{VCPKG_ROOT});
- emscripten (inherits vcpkg and require $env{EMSCRIPTEN_ROOT}).
|
||
|---|---|---|
| .. | ||
| example_allegro5 | ||
| example_android_opengl3 | ||
| example_apple_metal | ||
| example_apple_opengl2 | ||
| example_glfw_metal | ||
| example_glfw_opengl2 | ||
| example_glfw_opengl3 | ||
| example_glfw_vulkan | ||
| example_glfw_wgpu | ||
| example_glut_opengl2 | ||
| example_null | ||
| example_sdl2_directx11 | ||
| example_sdl2_metal | ||
| example_sdl2_opengl2 | ||
| example_sdl2_opengl3 | ||
| example_sdl2_sdlrenderer2 | ||
| example_sdl2_vulkan | ||
| example_sdl3_opengl3 | ||
| example_sdl3_sdlgpu3 | ||
| example_sdl3_sdlrenderer3 | ||
| example_sdl3_vulkan | ||
| example_win32_directx9 | ||
| example_win32_directx10 | ||
| example_win32_directx11 | ||
| example_win32_directx12 | ||
| example_win32_opengl3 | ||
| example_win32_vulkan | ||
| libs | ||
| CMakeLists.txt | ||
| CMakePresets.json | ||
| imgui_examples.sln | ||
| ImGuiConfig.cmake | ||
| ImGuiModule.cmake | ||
| ImGuiTargets.cmake | ||
| README.txt | ||
| vcpkg.json | ||
See BACKENDS and EXAMPLES files in the docs/ folder, or on the web at: https://github.com/ocornut/imgui/tree/master/docs Backends = Helper code to facilitate integration with platforms/graphics api (used by Examples + should be used by your app). Examples = Standalone applications showcasing integration with platforms/graphics api. Some Examples have extra README files in their respective directory, please check them too! Once Dear ImGui is running (in either examples or your own application/game/engine), run and refer to ImGui::ShowDemoWindow() in imgui_demo.cpp for the end-user API.