2021-03-26 22:44:41 +00:00
|
|
|
add_executable(im2d WIN32
|
2021-06-22 21:51:20 +01:00
|
|
|
im2d.cpp
|
|
|
|
linelist.cpp
|
|
|
|
main.cpp
|
|
|
|
polyline.cpp
|
|
|
|
trifan.cpp
|
|
|
|
trilist.cpp
|
|
|
|
tristrip.cpp
|
2021-03-23 08:00:09 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(im2d
|
2021-06-22 21:51:20 +01:00
|
|
|
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 im2d POST_BUILD
|
|
|
|
COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/files" "$<TARGET_FILE_DIR:im2d>/files"
|
|
|
|
)
|
2021-06-22 18:47:36 +01:00
|
|
|
|
|
|
|
librw_platform_target(im2d)
|