summaryrefslogtreecommitdiff
path: root/CMakeModules
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeModules')
-rw-r--r--CMakeModules/CopyYuzuQt5Deps.cmake27
1 files changed, 27 insertions, 0 deletions
diff --git a/CMakeModules/CopyYuzuQt5Deps.cmake b/CMakeModules/CopyYuzuQt5Deps.cmake
index aaf80b77b..a1ad8d8fb 100644
--- a/CMakeModules/CopyYuzuQt5Deps.cmake
+++ b/CMakeModules/CopyYuzuQt5Deps.cmake
@@ -5,18 +5,45 @@ function(copy_yuzu_Qt5_deps target_dir)
5 set(Qt5_PLATFORMS_DIR "${Qt5_DIR}/../../../plugins/platforms/") 5 set(Qt5_PLATFORMS_DIR "${Qt5_DIR}/../../../plugins/platforms/")
6 set(Qt5_STYLES_DIR "${Qt5_DIR}/../../../plugins/styles/") 6 set(Qt5_STYLES_DIR "${Qt5_DIR}/../../../plugins/styles/")
7 set(Qt5_IMAGEFORMATS_DIR "${Qt5_DIR}/../../../plugins/imageformats/") 7 set(Qt5_IMAGEFORMATS_DIR "${Qt5_DIR}/../../../plugins/imageformats/")
8 set(Qt5_RESOURCES_DIR "${Qt5_DIR}/../../../resources/")
8 set(PLATFORMS ${DLL_DEST}platforms/) 9 set(PLATFORMS ${DLL_DEST}platforms/)
9 set(STYLES ${DLL_DEST}styles/) 10 set(STYLES ${DLL_DEST}styles/)
10 set(IMAGEFORMATS ${DLL_DEST}imageformats/) 11 set(IMAGEFORMATS ${DLL_DEST}imageformats/)
12 set(RESOURCES ${DLL_DEST}resources/)
11 windows_copy_files(${target_dir} ${Qt5_DLL_DIR} ${DLL_DEST} 13 windows_copy_files(${target_dir} ${Qt5_DLL_DIR} ${DLL_DEST}
12 icudt*.dll 14 icudt*.dll
13 icuin*.dll 15 icuin*.dll
14 icuuc*.dll 16 icuuc*.dll
15 Qt5Core$<$<CONFIG:Debug>:d>.* 17 Qt5Core$<$<CONFIG:Debug>:d>.*
16 Qt5Gui$<$<CONFIG:Debug>:d>.* 18 Qt5Gui$<$<CONFIG:Debug>:d>.*
19 Qt5Network$<$<CONFIG:Debug>:d>.*
17 Qt5OpenGL$<$<CONFIG:Debug>:d>.* 20 Qt5OpenGL$<$<CONFIG:Debug>:d>.*
18 Qt5Widgets$<$<CONFIG:Debug>:d>.* 21 Qt5Widgets$<$<CONFIG:Debug>:d>.*
19 ) 22 )
23
24 if (YUZU_USE_QT_WEB_ENGINE)
25 windows_copy_files(${target_dir} ${Qt5_DLL_DIR} ${DLL_DEST}
26 Qt5Positioning$<$<CONFIG:Debug>:d>.*
27 Qt5PrintSupport$<$<CONFIG:Debug>:d>.*
28 Qt5Qml$<$<CONFIG:Debug>:d>.*
29 Qt5Quick$<$<CONFIG:Debug>:d>.*
30 Qt5QuickWidgets$<$<CONFIG:Debug>:d>.*
31 Qt5WebChannel$<$<CONFIG:Debug>:d>.*
32 Qt5WebEngine$<$<CONFIG:Debug>:d>.*
33 Qt5WebEngineCore$<$<CONFIG:Debug>:d>.*
34 Qt5WebEngineWidgets$<$<CONFIG:Debug>:d>.*
35 QtWebEngineProcess$<$<CONFIG:Debug>:d>.*
36 )
37
38 windows_copy_files(${target_dir} ${Qt5_RESOURCES_DIR} ${RESOURCES}
39 qtwebengine_resources.pak
40 qtwebengine_devtools_resources.pak
41 qtwebengine_resources_100p.pak
42 qtwebengine_resources_200p.pak
43 icudtl.dat
44 )
45 endif ()
46
20 windows_copy_files(yuzu ${Qt5_PLATFORMS_DIR} ${PLATFORMS} qwindows$<$<CONFIG:Debug>:d>.*) 47 windows_copy_files(yuzu ${Qt5_PLATFORMS_DIR} ${PLATFORMS} qwindows$<$<CONFIG:Debug>:d>.*)
21 windows_copy_files(yuzu ${Qt5_STYLES_DIR} ${STYLES} qwindowsvistastyle$<$<CONFIG:Debug>:d>.*) 48 windows_copy_files(yuzu ${Qt5_STYLES_DIR} ${STYLES} qwindowsvistastyle$<$<CONFIG:Debug>:d>.*)
22 windows_copy_files(yuzu ${Qt5_IMAGEFORMATS_DIR} ${IMAGEFORMATS} qjpeg$<$<CONFIG:Debug>:d>.*) 49 windows_copy_files(yuzu ${Qt5_IMAGEFORMATS_DIR} ${IMAGEFORMATS} qjpeg$<$<CONFIG:Debug>:d>.*)