CopyYuzuQt5Deps.cmake 885 B

1234567891011121314151617181920
  1. function(copy_yuzu_Qt5_deps target_dir)
  2. include(WindowsCopyFiles)
  3. set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$<CONFIG>/")
  4. set(Qt5_DLL_DIR "${Qt5_DIR}/../../../bin")
  5. set(Qt5_PLATFORMS_DIR "${Qt5_DIR}/../../../plugins/platforms/")
  6. set(Qt5_STYLES_DIR "${Qt5_DIR}/../../../plugins/styles/")
  7. set(PLATFORMS ${DLL_DEST}platforms/)
  8. set(STYLES ${DLL_DEST}styles/)
  9. windows_copy_files(${target_dir} ${Qt5_DLL_DIR} ${DLL_DEST}
  10. icudt*.dll
  11. icuin*.dll
  12. icuuc*.dll
  13. Qt5Core$<$<CONFIG:Debug>:d>.*
  14. Qt5Gui$<$<CONFIG:Debug>:d>.*
  15. Qt5OpenGL$<$<CONFIG:Debug>:d>.*
  16. Qt5Widgets$<$<CONFIG:Debug>:d>.*
  17. )
  18. windows_copy_files(yuzu ${Qt5_PLATFORMS_DIR} ${PLATFORMS} qwindows$<$<CONFIG:Debug>:d>.*)
  19. windows_copy_files(yuzu ${Qt5_STYLES_DIR} ${STYLES} qwindowsvistastyle$<$<CONFIG:Debug>:d>.*)
  20. endfunction(copy_yuzu_Qt5_deps)