1. Home
  2. Browse
  3. hello-imgui

hello-imgui

v1.5.2#1Go to latest

Hello, Dear ImGui: unleash your creativity in app development and prototyping

Install

Run the following Vcpkg command to install the port.

vcpkg install hello-imgui

Usage

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(); }); }

Features

Dependencies

See source

Version

v1.5.2#1

Publication

Supports

All

GitHub

pthom/hello_imgui688

Homepage

pthom.github.io/hello_imgui

Subtree

ab65510cb3

License

MIT

Definition

Manifest