mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-19 11:31:56 +00:00
22 lines
557 B
CMake
22 lines
557 B
CMake
set(LIBRETRO_SRCS
|
|
libretro.cpp
|
|
LibretroGraphicsContext.cpp
|
|
LibretroGLContext.cpp
|
|
LibretroVulkanContext.cpp
|
|
libretro_vulkan.cpp
|
|
)
|
|
|
|
include_directories(libretro)
|
|
|
|
add_library(ppsspp_libretro SHARED ${LIBRETRO_SRCS})
|
|
set(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}")
|
|
set_target_properties(ppsspp_libretro PROPERTIES PREFIX "")
|
|
if(ANDROID)
|
|
set_target_properties(ppsspp_libretro PROPERTIES SUFFIX "_android.so")
|
|
endif()
|
|
|
|
if(NOT MSVC)
|
|
target_link_libraries(ppsspp_libretro "-Wl,-Bsymbolic")
|
|
endif()
|
|
target_link_libraries(ppsspp_libretro ${LinkCommon})
|