add_library(imgui
  imgui/imgui_demo.cpp
  imgui/imgui_draw.cpp
  imgui/imgui_internal.h
  imgui/imgui_tables.cpp
  imgui/imgui_widgets.cpp
  imgui/imgui.cpp
  imgui/imgui.h
  imgui/imconfig.h
  imgui/backends/imgui_impl_sdl2.h
  imgui/backends/imgui_impl_sdl2.cpp
  imgui/backends/imgui_impl_vulkan.h
  imgui/backends/imgui_impl_vulkan.cpp)

add_compile_definitions(IMGUI_IMPL_VULKAN_NO_PROTOTYPES)

if(MSVC)
  target_compile_options(imgui PUBLIC /EHa)
endif()

target_include_directories(imgui PUBLIC ../parallel-rdp/parallel-rdp-standalone/volk
  ../parallel-rdp/parallel-rdp-standalone/vulkan-headers/include)