Skip to content
forked from ocornut/imgui

Dear imgui with supports building as static or shared libraries with sdl3 and bgfx backend integration

License

Notifications You must be signed in to change notification settings

fernaerell/imgui

 
 

Repository files navigation

Dear ImGui

This is a version of Dear ImGui that can be built as a static or shared library using CMake.

Build

Example build using CMake and Ninja:

cmake -S . -B build -G Ninja \
    -DIMGUI_BACKEND=bgfx,sdl3 \
    -DCMAKE_BUILD_TYPE=Release \
    -DIMGUI_BUILD_SHARED=OFF \
    -DCMAKE_INSTALL_PREFIX=C:/libs/imgui

cmake --build build

CMake Options

  • IMGUI_BACKEND – Select the backend(s) to use. Currently supports sdl3 and bgfx.

  • IMGUI_BUILD_SHARED – ON to build as a shared library, OFF for static library

Backend Dependencies

Backends require their respective libraries:

  • BGFX: Build manually using bgfx.cmake
  • SDL3: Build manually from SDL

These libraries are not included in this repository; build them separately as needed.

Example Project

A sample project using this library is available here:
sdl3-bgfx-imgui-examples

About

Dear imgui with supports building as static or shared libraries with sdl3 and bgfx backend integration

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 87.5%
  • C 10.7%
  • Objective-C++ 1.4%
  • CMake 0.2%
  • Objective-C 0.1%
  • Python 0.1%