From 031fc3a46011ea64362549a993e52f0018bfe5b8 Mon Sep 17 00:00:00 2001 From: freiro Date: Sun, 11 Dec 2016 15:36:34 +0100 Subject: Modularization of copy_msvc_libraries cmake funct Created a new folder in Citra's root called CMakeModules that should contain cmake functions used by the various CMakeLists.txt. --- CMakeModules/CopyMSVCLibsQt.cmake | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 CMakeModules/CopyMSVCLibsQt.cmake (limited to 'CMakeModules/CopyMSVCLibsQt.cmake') diff --git a/CMakeModules/CopyMSVCLibsQt.cmake b/CMakeModules/CopyMSVCLibsQt.cmake new file mode 100644 index 000000000..64b27a807 --- /dev/null +++ b/CMakeModules/CopyMSVCLibsQt.cmake @@ -0,0 +1,19 @@ +function(copy_msvc_libraries) + include(WindowsCopyFiles) + set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$/") + windows_copy_files(citra-qt ${SDL2_DLL_DIR} ${DLL_DEST} SDL2.dll) + + set(Qt5_DLL_DIR "${Qt5_DIR}/../../../bin") + set(Qt5_PLATFORMS_DIR "${Qt5_DIR}/../../../plugins/platforms/") + set(PLATFORMS ${DLL_DEST}platforms/) + windows_copy_files(citra-qt ${Qt5_DLL_DIR} ${DLL_DEST} + icudt*.dll + icuin*.dll + icuuc*.dll + Qt5Core$<$:d>.* + Qt5Gui$<$:d>.* + Qt5OpenGL$<$:d>.* + Qt5Widgets$<$:d>.* + ) + windows_copy_files(citra-qt ${Qt5_PLATFORMS_DIR} ${PLATFORMS} qwindows$<$:d>.*) +endfunction(copy_msvc_libraries) \ No newline at end of file -- cgit v1.2.3