Files
pilotclient/cmake/qt_deploy_win.cmake
2024-11-05 12:29:34 +01:00

23 lines
1.2 KiB
CMake

# SPDX-FileCopyrightText: Copyright (C) swift Project Community / Contributors
# SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
message(STATUS "Running windeployqt")
execute_process(COMMAND windeployqt.exe
${CMAKE_INSTALL_PREFIX}/bin/core.dll
${CMAKE_INSTALL_PREFIX}/bin/gui.dll
${CMAKE_INSTALL_PREFIX}/bin/input.dll
${CMAKE_INSTALL_PREFIX}/bin/misc.dll
${CMAKE_INSTALL_PREFIX}/bin/sound.dll
${CMAKE_INSTALL_PREFIX}/bin/swiftcore.exe
${CMAKE_INSTALL_PREFIX}/bin/swiftdata.exe
${CMAKE_INSTALL_PREFIX}/bin/swiftguistd.exe
${CMAKE_INSTALL_PREFIX}/bin/swiftlauncher.exe
--no-translations
--no-compiler-runtime
--no-system-d3d-compiler
--no-system-dxc-compiler
--no-opengl-sw
-opengl # not detected automatically
--skip-plugin-types generic,multimedia,networkinformation,qmltooling
WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin)