librw/tools/camera/CMakeLists.txt

20 lines
449 B
CMake
Raw Normal View History

add_executable(camera WIN32
main.cpp
camexamp.cpp
viewer.cpp
2021-03-23 08:00:09 +00:00
)
target_link_libraries(camera
PRIVATE
librw::skeleton
librw::librw
2021-03-23 08:00:09 +00:00
)
2021-03-26 22:33:38 +00:00
add_custom_command(
TARGET camera POST_BUILD
2021-07-08 15:09:40 +01:00
COMMAND "${CMAKE_COMMAND}" -E make_directory "$<TARGET_FILE_DIR:camera>/files"
COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/files" "$<TARGET_FILE_DIR:camera>/files"
2021-03-26 22:33:38 +00:00
)
2021-06-22 18:47:36 +01:00
librw_platform_target(camera)