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.
- the
LICENSE
- the project name in
CMakelists.txt
- the
name
andversion
in thevcpkg.json
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).
- Configure:
cmake --preset debug
- Build:
cmake --build build\debug --target ImGuiDx11Template
- Run:
cd build\debug && ImGuiDx11Template.exe