1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-02-08 04:40:09 +00:00
This commit is contained in:
Konstantin Podsvirov 2026-01-08 08:51:37 -08:00 committed by GitHub
commit cd1ba4c0ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 868 additions and 42 deletions

View file

@ -0,0 +1,16 @@
cmake_minimum_required(VERSION 3.5)
project(example_sdl2_vulkan
LANGUAGES CXX)
find_package(ImGui CONFIG REQUIRED
COMPONENTS ImplSDL2 ImplVulkan)
add_executable(${PROJECT_NAME} WIN32 main.cpp)
target_link_libraries(${PROJECT_NAME}
PRIVATE ImGui::ImplSDL2 ImGui::ImplVulkan)
include(GNUInstallDirs)
install(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")