mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +08:00
[skip ci] feat: Add Innosetup installer
This commit is contained in:
@@ -2,11 +2,7 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
|
||||
|
||||
message(STATUS "Running windeployqt")
|
||||
execute_process(COMMAND qmake -query QT_INSTALL_BINS OUTPUT_VARIABLE QT_INSTALL_BINS)
|
||||
|
||||
string(STRIP ${QT_INSTALL_BINS} QT_INSTALL_BINS)
|
||||
|
||||
execute_process(COMMAND ${QT_INSTALL_BINS}/windeployqt.exe
|
||||
execute_process(COMMAND windeployqt.exe
|
||||
${CMAKE_INSTALL_PREFIX}/bin/core.dll
|
||||
${CMAKE_INSTALL_PREFIX}/bin/gui.dll
|
||||
${CMAKE_INSTALL_PREFIX}/bin/input.dll
|
||||
@@ -19,11 +15,8 @@ execute_process(COMMAND ${QT_INSTALL_BINS}/windeployqt.exe
|
||||
--no-translations
|
||||
--no-compiler-runtime
|
||||
--no-system-d3d-compiler
|
||||
--no-system-dxc-compiler
|
||||
--no-opengl-sw
|
||||
--no-webkit2
|
||||
--no-virtualkeyboard
|
||||
-opengl # not detected automatically
|
||||
--skip-plugin-types generic,multimedia,networkinformation,qmltooling
|
||||
WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
|
||||
# Remove unused files
|
||||
file(REMOVE_RECURSE ${CMAKE_INSTALL_PREFIX}/bin/playlistformats ${CMAKE_INSTALL_PREFIX}/bin/styles)
|
||||
|
||||
Reference in New Issue
Block a user