|
|
|
|
|
by fetbaffe
2100 days ago
|
|
Looking at it now, I wanted to copy files into the build folder after build step was done with add_custom_command() with copy_if_different and with target TARGET <project> POST_BUILD, but when I would put that in a subdirectory it wouldn't work because there was no target. add_custom_command(TARGET project POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
some.dll
$<TARGET_FILE_DIR:project>)
|
|