forked from qt-creator/qt-creator
cmake build: Re-add a "Dependencies" component that runs deploy script
And use that from the build script. Change-Id: I97d5b593cf703bb8e51556240f37c80aad654732 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
+3
-12
@@ -174,6 +174,9 @@ def build_qtcreator(args, paths):
|
||||
|
||||
common.check_print_call(['cmake', '--install', '.', '--prefix', paths.install, '--strip'],
|
||||
paths.build)
|
||||
common.check_print_call(['cmake', '--install', '.', '--prefix', paths.install,
|
||||
'--component', 'Dependencies'],
|
||||
paths.build)
|
||||
common.check_print_call(['cmake', '--install', '.', '--prefix', paths.dev_install,
|
||||
'--component', 'Devel'],
|
||||
paths.build)
|
||||
@@ -215,17 +218,6 @@ def build_qtcreatorcdbext(args, paths):
|
||||
'--component', 'qtcreatorcdbext'],
|
||||
paths.build)
|
||||
|
||||
def deploy_qt(args, paths):
|
||||
cmd_args = ['python', '-u', os.path.join(paths.src, 'scripts', 'deployqt.py'), '-i']
|
||||
if paths.elfutils:
|
||||
cmd_args.extend(['--elfutils-path', paths.elfutils])
|
||||
if paths.llvm:
|
||||
cmd_args.extend(['--llvm-path', paths.llvm])
|
||||
app = (os.path.join(paths.install, args.app_target) if common.is_mac_platform()
|
||||
else os.path.join(paths.install, 'bin', args.app_target))
|
||||
common.check_print_call(cmd_args + [app, os.path.join(paths.qt, 'bin', 'qmake')],
|
||||
paths.build)
|
||||
|
||||
def package_qtcreator(args, paths):
|
||||
if not args.no_zip:
|
||||
common.check_print_call(['7z', 'a', '-mmt2',
|
||||
@@ -291,7 +283,6 @@ def main():
|
||||
build_qtcreator(args, paths)
|
||||
build_wininterrupt(args, paths)
|
||||
build_qtcreatorcdbext(args, paths)
|
||||
deploy_qt(args, paths)
|
||||
package_qtcreator(args, paths)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user