mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Use windows64bitMode property for win64 installer
Summary: ref T81 Reviewers: #swift_pilot_client, msutcliffe Reviewed By: #swift_pilot_client, msutcliffe Subscribers: msutcliffe, jenkins Maniphest Tasks: T81 Differential Revision: https://dev.swift-project.org/D44
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b9c06c8581
commit
f7628654f8
@@ -287,10 +287,12 @@ bitrock_builder_bin = $$(BITROCK_BUILDER)
|
||||
QMAKE_EXTRA_TARGETS += create_updater
|
||||
|
||||
create_installer.depends = create_updater
|
||||
WINDOWS64BITMODE = 0
|
||||
win32 {
|
||||
INSTALLER_PLATFORM = windows
|
||||
INSTALLER_BASENAME = swift-installer-win-$${WORD_SIZE}-$${BLACK_VERSION}
|
||||
INSTALLER_EXT = exe
|
||||
equals(WORD_SIZE,64): WINDOWS64BITMODE = 1
|
||||
}
|
||||
else:macx {
|
||||
INSTALLER_PLATFORM = osx
|
||||
@@ -306,7 +308,8 @@ bitrock_builder_bin = $$(BITROCK_BUILDER)
|
||||
create_installer.commands = $${bitrock_builder_bin} build $${bitrock_project} $${INSTALLER_PLATFORM} \
|
||||
--setvars project.outputDirectory=$$shell_path($${PREFIX}/..) \
|
||||
project.installerFilename=$${INSTALLER_BASENAME}.$${INSTALLER_EXT} \
|
||||
project.version=$${BLACK_VERSION}
|
||||
project.version=$${BLACK_VERSION} \
|
||||
project.windows64bitMode=$${WINDOWS64BITMODE}
|
||||
QMAKE_EXTRA_TARGETS += create_installer
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user