summaryrefslogtreecommitdiff
path: root/tools/playground/CMakeLists.txt
diff options
context:
space:
mode:
authorclaude-bot <[email protected]>2026-07-13 12:40:03 +0000
committerclaude-bot <[email protected]>2026-07-13 12:40:03 +0000
commit847962910f0bff071f3bf07c9abb87764fb6cac3 (patch)
treeddcd429e134c7fd5f72ddc97ced175de8d66fcd0 /tools/playground/CMakeLists.txt
downloadlibrw-847962910f0bff071f3bf07c9abb87764fb6cac3.tar.gz
librw-847962910f0bff071f3bf07c9abb87764fb6cac3.zip
Import aap/librw @ masterHEADmaster
Snapshot for re3/reVC vendoring, per @lzcnt. Source: https://github.com/aap/librw (master).
Diffstat (limited to 'tools/playground/CMakeLists.txt')
-rw-r--r--tools/playground/CMakeLists.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/playground/CMakeLists.txt b/tools/playground/CMakeLists.txt
new file mode 100644
index 0000000..120f7bc
--- /dev/null
+++ b/tools/playground/CMakeLists.txt
@@ -0,0 +1,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)