Commit c03b9b0c authored by Daniel Molkentin's avatar Daniel Molkentin

Add deployartifacts command

Deploys prebuilt artifacts from remote repository.
Currently only used on Windows, includes
the 64 bit debugging helper and a stable version
of jom, taken from an external repository.

Change-Id: I9f034f184f94bf4e0b088338cde6d8e0d6c7d419
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
Reviewed-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
parent 142cee90
...@@ -26,13 +26,18 @@ macx { ...@@ -26,13 +26,18 @@ macx {
QMAKE_EXTRA_TARGETS += dmg QMAKE_EXTRA_TARGETS += dmg
} else { } else {
deployqt.commands = $$PWD/scripts/deployqt.py -i $(INSTALL_ROOT) deployqt.commands = $$PWD/scripts/deployqt.py -i $(INSTALL_ROOT)
win32:deployqt.commands ~= s,/,\\\\,g
deployqt.depends = install deployqt.depends = install
bindist.commands = $$PWD/scripts/bindistHelper.py $(INSTALL_ROOT) $${PLATFORM}$(INSTALL_EDITION)-$${QTCREATOR_VERSION}$(INSTALL_POSTFIX) bindist.commands = $$PWD/scripts/bindist_helper.py $(INSTALL_ROOT) $${PLATFORM}$(INSTALL_EDITION)-$${QTCREATOR_VERSION}$(INSTALL_POSTFIX)
win32:PLATFORM="windows" win32 {
bindist.commands ~= s,/,\\\\,g
deployqt.commands ~= s,/,\\\\,g
deployartifacts.depends = install
PLATFORM="windows"
deployartifacts.commands = git clone "git://gitorious.org/qt-creator/binary-artifacts.git"&& xcopy /s /q /y /i "binary-artifacts\\win32" $(INSTALL_ROOT)&& rmdir /s binary-artifacts
QMAKE_EXTRA_TARGETS += deployartifacts
}
else:linux-*:PLATFORM="linux-$${QT_ARCH}" else:linux-*:PLATFORM="linux-$${QT_ARCH}"
else:PLATFORM="unknown" else:PLATFORM="unknown"
win32:bindist.commands ~= s,/,\\\\,g
} }
bindist.depends = deployqt bindist.depends = deployqt
QMAKE_EXTRA_TARGETS += deployqt bindist QMAKE_EXTRA_TARGETS += deployqt bindist
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment