mirror of
https://github.com/aap/librw.git
synced 2024-11-27 22:25:47 +00:00
24 lines
500 B
CMake
24 lines
500 B
CMake
add_executable(im3d WIN32
|
|
im3d.cpp
|
|
linelist.cpp
|
|
main.cpp
|
|
polyline.cpp
|
|
trifan.cpp
|
|
trilist.cpp
|
|
tristrip.cpp
|
|
)
|
|
|
|
target_link_libraries(im3d
|
|
PRIVATE
|
|
librw::skeleton
|
|
librw::librw
|
|
)
|
|
|
|
add_custom_command(
|
|
TARGET im3d POST_BUILD
|
|
COMMAND "${CMAKE_COMMAND}" -E make_directory "$<TARGET_FILE_DIR:im3d>/files"
|
|
COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/files" "$<TARGET_FILE_DIR:im3d>/files"
|
|
)
|
|
|
|
librw_platform_target(im3d)
|