Move shared frontend code from SDL to a seperate project
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
add_executable(duckstation-sdl
|
||||
icon.cpp
|
||||
icon.h
|
||||
imgui_impl_sdl.cpp
|
||||
imgui_impl_sdl.h
|
||||
imgui_styles.cpp
|
||||
imgui_styles.h
|
||||
main.cpp
|
||||
opengl_host_display.cpp
|
||||
opengl_host_display.h
|
||||
sdl_audio_stream.cpp
|
||||
sdl_audio_stream.h
|
||||
sdl_host_interface.cpp
|
||||
sdl_host_interface.h
|
||||
sdl_settings_interface.cpp
|
||||
@@ -17,7 +11,7 @@ add_executable(duckstation-sdl
|
||||
)
|
||||
|
||||
target_include_directories(duckstation-sdl PRIVATE ${SDL2_INCLUDE_DIRS})
|
||||
target_link_libraries(duckstation-sdl PRIVATE core common imgui nativefiledialog glad simpleini ${SDL2_LIBRARIES})
|
||||
target_link_libraries(duckstation-sdl PRIVATE core common imgui nativefiledialog glad simpleini frontend-common ${SDL2_LIBRARIES})
|
||||
|
||||
if(WIN32)
|
||||
target_sources(duckstation-sdl PRIVATE
|
||||
@@ -26,3 +20,4 @@ if(WIN32)
|
||||
)
|
||||
target_link_libraries(duckstation-sdl PRIVATE d3d11.lib dxgi.lib winmm.lib ${SDL2MAIN_LIBRARIES})
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user