aboutsummaryrefslogtreecommitdiffstats
path: root/qbs.pro
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2016-06-30 15:17:03 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2018-04-09 07:17:25 +0000
commitd45d7ea294daa85249432572a6bdb4dece82d44c (patch)
treec976658ad97ddac8ec1049f5d02ed3431ca2fcbb /qbs.pro
parentcf12d96aa7e22f8cb18b6af076fec36b6ea96f34 (diff)
Add QtScript git submodule
This adds QtScript as a git submodule to build the qbsscriptengine library. QtDeclarative support has been stripped out. We don't need that. Windows CE and Symbian platform support has been removed. JIT has been disabled, which improves resolve/rule execution by 8%. [ChangeLog] Bundled QtScript as a submodule. Task-number: QBS-913 Change-Id: Idfbaf06eb2cef3985e5eae955f231686499f7754 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'qbs.pro')
-rw-r--r--qbs.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/qbs.pro b/qbs.pro
index eeafc9823..8b4fe3f9d 100644
--- a/qbs.pro
+++ b/qbs.pro
@@ -1,4 +1,5 @@
requires(!cross_compile)
+include(src/lib/bundledlibs.pri)
defineTest(minQtVersion) {
maj = $$1
@@ -40,6 +41,11 @@ CONFIG(shared, static|shared): src_plugins.depends = corelib
tests.depends = static_res
static_res.file = static-res.pro
static_res.depends = src_app src_libexec src_plugins static.pro
+qbs_use_bundled_qtscript {
+ scriptenginelib.file = src/lib/scriptengine/scriptengine.pro
+ corelib.depends = scriptenginelib
+ SUBDIRS += scriptenginelib
+}
SUBDIRS += \
corelib\
setupqtprofilelib\