mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Set installbuilder project.version dynamically from qmake
Instead of maintaining the version number in project.xml, pass it to installbuilder from qmake project. refs #902
This commit is contained in:
committed by
Mathew Sutcliffe
parent
dbcde5bcf5
commit
b6fb532f3a
@@ -308,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.installerFilename=$${INSTALLER_BASENAME}.$${INSTALLER_EXT} \
|
||||
project.version=$${BLACK_VERSION}
|
||||
QMAKE_EXTRA_TARGETS += create_installer
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<project>
|
||||
<shortName>swift</shortName>
|
||||
<fullName>swift</fullName>
|
||||
<version>0.7.0</version>
|
||||
<!-- <version>0.7.0</version> -->
|
||||
<readmeFile>../../dist/bin/README.md</readmeFile>
|
||||
<licenseFile>../../dist/bin/LICENSE</licenseFile>
|
||||
<leftImage>../images/leftimage.png</leftImage>
|
||||
|
||||
Reference in New Issue
Block a user