To add this library to your project, simply add these three lines to your CMakeLists.txt and replace folder/containing/imgui
with the path to the parent folder containing imgui:
add_subdirectory(path/to/ImStyleEd)
target_include_directories(ImStyleEd SYSTEM PRIVATE folder/containing/imgui)
target_link_libraries(${PROJECT_NAME} PRIVATE ImStyleEd::ImStyleEd)
Then include it as:
#include <ImStyleEd/ImStyleEd.hpp>
Simply use "tests/CMakeLists.txt" to generate a project, then run it.
If you are using VSCode and the CMake extension, this project already contains a .vscode/settings.json that will use the right CMakeLists.txt automatically.