# The port's own layer between SDL and the game: the settings file, the player's controls as
# rebindable actions and the options menu. Nothing here is from the original.
add_library(dgen_platform STATIC config.cpp host.cpp input.cpp menu.cpp saves.cpp settings.cpp)
target_include_directories(dgen_platform PUBLIC ${PROJECT_SOURCE_DIR}/src)
target_link_libraries(dgen_platform PUBLIC dgen_game SDL3::SDL3)
dgen_set_warnings(dgen_platform)
