librw/tools/playground/CMakeLists.txt

23 lines
520 B
CMake
Raw Normal View History

2021-03-26 23:58:03 +01:00
add_executable(playground WIN32
camera.cpp
font.cpp
main.cpp
ras_test.cpp
splines.cpp
tl_tests.cpp
2021-03-23 17:00:09 +09:00
)
2021-03-26 23:58:03 +01:00
target_link_libraries(playground
PRIVATE
librw::skeleton
librw::librw
2021-03-23 17:00:09 +09:00
)
2021-03-26 23:33:38 +01:00
add_custom_command(
2021-03-26 23:58:03 +01:00
TARGET playground POST_BUILD
2021-07-08 16:09:40 +02:00
COMMAND "${CMAKE_COMMAND}" -E make_directory "$<TARGET_FILE_DIR:playground>/files"
COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/files" "$<TARGET_FILE_DIR:playground>/files"
2021-03-26 23:33:38 +01:00
)
2021-06-22 19:47:36 +02:00
librw_platform_target(playground)