mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-18 23:18:30 +01:00
example_vulkan: add CIMGUI_USE_VULKAN and SDL
This commit is contained in:
@@ -92,6 +92,7 @@ target_link_libraries(cimgui_sdl ${IMGUI_LIBRARIES} ${IMGUI_SDL_LIBRARY})
|
|||||||
#using library
|
#using library
|
||||||
include_directories(../../generator/output/)
|
include_directories(../../generator/output/)
|
||||||
add_executable(test_sdl main.c)
|
add_executable(test_sdl main.c)
|
||||||
|
target_compile_definitions(test_sdl PUBLIC -DCIMGUI_USE_VULKAN -DCIMGUI_USE_SDL)
|
||||||
if (MINGW)
|
if (MINGW)
|
||||||
target_link_options(test_sdl PRIVATE "-mconsole")
|
target_link_options(test_sdl PRIVATE "-mconsole")
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user