summaryrefslogtreecommitdiff
path: root/tools/playground/CMakeLists.txt
blob: 120f7bc55b82b376e56fe06c37cfe9935e569e3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
add_executable(playground WIN32
    camera.cpp
    font.cpp
    main.cpp
    ras_test.cpp
    splines.cpp
    tl_tests.cpp
)

target_link_libraries(playground
    PRIVATE
        librw::skeleton
        librw::librw
)

add_custom_command(
    TARGET playground POST_BUILD
    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"
)

librw_platform_target(playground)