dll-copy.cmake 291 B

123456
  1. FILE(GLOB dlls ${CMAKE_BINARY_DIR}/../src/*.dll)
  2. MESSAGE(STATUS "Files to copy: ${dlls}. From: ${CMAKE_BINARY_DIR}")
  3. FOREACH(dll ${dlls})
  4. MESSAGE(STATUS "Copying dll runtime file ${dll} to runtime dir ${CMAKE_BINARY_DIR}")
  5. FILE(COPY ${dll} DESTINATION ${CMAKE_BINARY_DIR})
  6. ENDFOREACH(dll)