AppleWin/source/frontends/sa2/CMakeLists.txt
Andrea Odetti c176b3d2ff Add skeleton of a libretro core for AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-12 18:45:58 +00:00

30 lines
500 B
CMake

include(FindPkgConfig)
add_executable(sa2
main.cpp
bitmaps.cpp
emulator.cpp
gamepad.cpp
sdirectsound.cpp
utils.cpp
)
find_package(SDL2 REQUIRED)
pkg_search_module(SDL2_IMAGE REQUIRED SDL2_image)
target_compile_features(sa2 PUBLIC cxx_std_17)
target_include_directories(sa2 PRIVATE
${SDL2_INCLUDE_DIRS}
${SDL2_IMAGE_INCLUDE_DIRS}
)
target_link_libraries(sa2 PRIVATE
${SDL2_LIBRARIES}
${SDL2_IMAGE_LIBRARIES}
appleii
common2
)
install(TARGETS sa2
DESTINATION bin)