FrontendCommon: Add a Vulkan host display interface

This commit is contained in:
Connor McLaughlin
2020-06-19 00:18:19 +10:00
parent 49d11988bf
commit 6aacf0019a
6 changed files with 599 additions and 10 deletions

View File

@@ -11,9 +11,11 @@ add_library(frontend-common
ini_settings_interface.h
save_state_selector_ui.cpp
save_state_selector_ui.h
vulkan_host_display.cpp
vulkan_host_display.h
)
target_link_libraries(frontend-common PUBLIC core common imgui simpleini scmversion)
target_link_libraries(frontend-common PUBLIC core common imgui simpleini scmversion vulkan-loader)
if(SDL2_FOUND)
target_sources(frontend-common PRIVATE
@@ -43,4 +45,4 @@ endif()
# Copy the provided data directory to the output directory.
add_custom_command(TARGET frontend-common POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_SOURCE_DIR}/data" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}"
)
)