Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 803 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 803 Bytes
  1. git clone --recursive [email protected]:themark147/cmake-gl-game.git

Add new submodule to lib (only if submodule contains CMakefile)

  • git submodule add https://github.com/ocornut/imgui
  • Recommended by ImGui this approach

Add files to your project or build system of your choice, so they get compiled and linked into your app. Add all source files in the root folder: imgui/{.cpp,.h}. Add selected imgui/backends/imgui_impl_xxxx{.cpp,.h} files corresponding to the technology you use from the imgui/backends/ folder (e.g. if your app uses SDL2 + DirectX11, add imgui_impl_sdl2.cpp, imgui_impl_dx11.cpp etc.). If your engine uses multiple APIs you may include multiple backends.