Mercurial > codedump
view win95kggui/dep/ft2play/CMakeLists.txt @ 133:0d8eabdd12ab default tip
create: write H:MM:SS timestamps, add option to fill with gaussian-blur instead of black
many albums are longer than one hour so writing H:MM:SS is a
necessity. if anything there will just be verbose info that
isn't important for my use-case.
however the gaussian-blur is simply broken. It works, and it plays
locally just fine, but YouTube in particular elongates the video
to fit the full width. I'm not entirely sure why it does this, but
it makes it useless and ugly.
| author | Paper <paper@tflc.us> |
|---|---|
| date | Sat, 03 Jan 2026 20:25:38 -0500 |
| parents | 8e4ee43d3b81 |
| children |
line wrap: on
line source
cmake_minimum_required(VERSION 3.7) project(ft2play C) find_package(SDL2 REQUIRED) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${ft2play_SOURCE_DIR}/ft2play/release/other/") file(GLOB ft2play_SRC "${ft2play_SOURCE_DIR}/audiodrivers/sdl/*.c" "${ft2play_SOURCE_DIR}/*.c" "${ft2play_SOURCE_DIR}/ft2play/src/*.c" ) add_executable(ft2play ${ft2play_SRC}) target_include_directories(ft2play SYSTEM PRIVATE ${SDL2_INCLUDE_DIRS}) if("${SDL2_LIBRARIES}" STREQUAL "") message(WARNING "SDL2_LIBRARIES wasn't set, manually setting to SDL2::SDL2") set(SDL2_LIBRARIES "SDL2::SDL2") endif() target_link_libraries(ft2play PRIVATE m pthread ${SDL2_LIBRARIES}) target_compile_definitions(ft2play PRIVATE AUDIODRIVER_SDL) install(TARGETS ft2play RUNTIME DESTINATION bin)
