Skip to content

k0mp1ex/imgui-dx11-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImGui template for DX11 with CMake + VCPKG

Simple Dear ImGui template to build with CMake using VCPKG linking against DirectX11 backend for easy prototype for folks that don't want to work with the Visual Studio solution that comes with the official examples.

The code in main.cpp is from the official ImGui example. This template uses the experimental docking features.

What should I update in the template?

  • the LICENSE
  • the project name in CMakelists.txt
  • the name and version in the vcpkg.json

How to build and run?

The steps below are for debug preset. Change it to release when shipping your app and rename the last step with your executable name (it will match your project name).

  1. Configure: cmake --preset debug
  2. Build: cmake --build build\debug --target ImGuiDx11Template
  3. Run: cd build\debug && ImGuiDx11Template.exe

Releases

No releases published

Packages

No packages published

Languages