mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-11 05:47:20 +00:00

- Reliable resolution switching. - Hook up logging. - Memory cards and controller type settings. - Save state support. - Direct3D support.
24 lines
612 B
CMake
24 lines
612 B
CMake
add_library(duckstation-libretro SHARED
|
|
libretro_audio_stream.cpp
|
|
libretro_audio_stream.h
|
|
libretro_host_display.cpp
|
|
libretro_host_display.h
|
|
libretro_host_interface.cpp
|
|
libretro_host_interface.h
|
|
libretro_opengl_host_display.cpp
|
|
libretro_opengl_host_display.h
|
|
libretro_settings_interface.cpp
|
|
libretro_settings_interface.h
|
|
main.cpp
|
|
)
|
|
|
|
if(WIN32)
|
|
target_sources(duckstation-libretro PRIVATE
|
|
libretro_d3d11_host_display.cpp
|
|
libretro_d3d11_host_display.h
|
|
)
|
|
endif()
|
|
|
|
target_link_libraries(duckstation-libretro PRIVATE core common imgui glad scmversion frontend-common libretro-common)
|
|
|