A C++ template for building cross-platform desktop apps with ImGui and OpenGL
Find a file Use this template
2026-08-22 02:21:19 +02:00
.github/workflows fix(ci): use gcc14 & update readme as well 2026-08-21 23:12:01 +02:00
assets feat: use dark titlebar on Windows using DWM Api 2026-08-21 23:51:31 +02:00
gui refactor(gui->frontend): create raii wrapper for imgui children 2026-08-22 02:21:19 +02:00
lib fix(lib->logger): dont guard stdout sink under NDEBUG definition 2026-08-21 23:11:41 +02:00
tests chore: add entry point to tests 2026-08-16 21:40:57 +02:00
vendor chore: move from conan to fetch-content 2026-08-16 21:40:23 +02:00
.clang-format update clang format 2026-06-14 22:12:08 +02:00
.gitattributes update gitattributes 2026-08-16 21:44:45 +02:00
.gitignore chore: update gitignore 2026-08-21 13:49:56 +02:00
cmake.toml chore: add gui headers to the source list 2026-08-22 02:11:05 +02:00
CMakeLists.txt chore: add gui headers to the source list 2026-08-22 02:11:05 +02:00
CMakeUserPresets.json refactor: move to conan for dependencies 2026-05-02 13:00:29 +02:00
cmkr.cmake feat: add basic OpenGL + ImGui Window 2026-03-18 10:56:14 +01:00
compile_commands.json chore: update compile commands symlink 2026-08-21 01:53:23 +02:00
LICENSE Initial commit 2026-03-16 16:08:28 +01:00
README.md fix(ci): use gcc14 & update readme as well 2026-08-21 23:12:01 +02:00

Desktop App Template

This is a simple template to create desktop applications using C++23, ImGui & OpenGL

Dev Build

Pretend there is an app screenshot here

Usage

Requirements

  • CMake 3.31 or later
  • A C++23 capable compiler like: GCC14+, (Apple)CLang16 & MSVC 2022.17.7 or later

After creating a repository based off this template you can simply run the following commands to setup and run the example:

cmake -B build/
cmake --build build/

License

GPLv3 see LICENSE.