forked from Hartmut/paradiso
Add tappyplane; Fix design problems
TappyPlane is the new QuickWings using the Kenney assets
This commit is contained in:
parent
42a0d56173
commit
9cfee49590
103 changed files with 475 additions and 570 deletions
18
examples/tappyplane/CMakeLists.txt
Normal file
18
examples/tappyplane/CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
set(tappyplane_srcs tappyplane.cpp)
|
||||
set(tappyplane_assets
|
||||
assets/PNG/background.png
|
||||
)
|
||||
|
||||
set_source_files_properties(${tappyplane_assets} PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||
|
||||
add_executable(tappyplane ${tappyplane_srcs} ${tappyplane_assets})
|
||||
|
||||
target_link_libraries(tappyplane paradiso_core)
|
||||
|
||||
#
|
||||
# copy files to bin/../assets folder
|
||||
#
|
||||
add_custom_command(TARGET tappyplane POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/assets/
|
||||
$<TARGET_FILE_DIR:tappyplane>/assets)
|
Loading…
Add table
Add a link
Reference in a new issue