This repo is a base project using CMake and vcpkg to install imgui and generate a sln to work in.
See the Dear ImGui git repository for information on imgui.
- Download and install CMake
- Download and install vcpkg
- Download and install Visual Studio 2022
Ensure to include the CMake additional module when installing VS2022
- Create new repo using template and git clone to local machine
- Run
cmake .inside root of local git repo - Open the generated
LearningUICpp.slnsolution - Right click
LearningUICpp.slnin Solution Explorer -> SelectSet as Startup Project - Run with
F5orCtrl+F5
- Open the
CMakeLists.txtfile - Find and replace any instances of
LearningUICppwith your new project name - Regenerate SLN if needed
- This project is using the
dockingbranch of imgui to provide multi-view and docking support - This project uses >= v1.91.0 of ImGui
- This project is generated to use DX12 and Win32 APIs. If you'd like to use a different set of APIs update the vcpkg.json, update the
main.cppusing the examples from imgui, and re-generate the SLN using step 5 inGetting Started