2021-07-01 12:34:53 +00:00
|
|
|
add_executable(pacman main.cpp)
|
2021-06-01 11:57:09 +00:00
|
|
|
target_link_libraries(pacman PUBLIC libpacman)
|
|
|
|
|
2021-05-10 13:04:31 +00:00
|
|
|
set_target_properties(pacman
|
2021-06-22 10:58:18 +00:00
|
|
|
PROPERTIES
|
|
|
|
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
|
|
|
)
|
2021-05-10 13:04:31 +00:00
|
|
|
|
2021-06-01 11:57:09 +00:00
|
|
|
add_custom_command(TARGET pacman POST_BUILD
|
2021-06-22 10:58:18 +00:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
2021-06-01 11:57:09 +00:00
|
|
|
${PROJECT_SOURCE_DIR}/assets/maze.png
|
|
|
|
${PROJECT_SOURCE_DIR}/assets/sprites32.png
|
2021-07-05 09:49:12 +00:00
|
|
|
${PROJECT_SOURCE_DIR}/assets/font/retro_font.ttf
|
2021-06-01 11:57:09 +00:00
|
|
|
$<TARGET_FILE_DIR:pacman>)
|