Add flappy bird

This commit is contained in:
Robin Rottstädt 2023-09-23 22:12:50 +02:00
parent 237102965b
commit 9b57ca68c6
No known key found for this signature in database
GPG key ID: 630B61F1D46CCE35
12 changed files with 8392 additions and 1 deletions

View file

@ -0,0 +1,9 @@
add_executable(paradiso_flappy_bird flappy_bird.cpp image_loader.hpp image_loader.cpp lib/stb_image.h)
target_link_libraries(paradiso_flappy_bird paradiso_core)
add_custom_command(TARGET paradiso_flappy_bird POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_CURRENT_SOURCE_DIR}/assets/ $<TARGET_FILE_DIR:paradiso_flappy_bird>/assets)