Hello, Dear ImGui: unleash your creativity in app development and prototyping
hello_imgui provides CMake targets and hello_imgui_add_app:
Usage with `hello_imgui_add_app` (recommended)
set(CMAKE_CXX_STANDARD 17)
find_package(hello-imgui CONFIG REQUIRED)
hello_imgui_add_app(test test.cpp) # see example below
Usage with `target_link_libraries`
set(CMAKE_CXX_STANDARD 17)
find_package(hello-imgui CONFIG REQUIRED)
# Note the subtle difference between the package name and the target name: hello-imgui vs hello_imgui!
target_link_libraries(main PRIVATE hello-imgui::hello_imgui)
# this mode will ignore all of hello_imgui cmake tooling, and will not deploy the assets
Example test.cpp:
#include "hello_imgui/hello_imgui.h"
int main() { HelloImGui::Run([](){ ImGui::Text("Hello, world!"); ImGui::ShowDemoWindow(); }); }
Use DirectX11 renderer backend (Windows only, experimental)
Use DirectX12 renderer backend (Windows only, experimental)
Use Vulkan renderer backend (Windows/Linux/macOS, experimental)
Improve font rendering and use colored fonts with freetype and lunasvg
Use GLFW platform backend (default)
Use Metal renderer backend (macOS/iOS only)
Use OpenGL3/ES2 renderer backend (default)
Use SDL2 platform backend
v1.5.2#1
All
MIT
Manifest