diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-09-05 17:24:24 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-09-09 12:04:01 +0200 |
commit | c2ac0902ed4f14d0de3c55d76d78b3e6a9447ced (patch) | |
tree | 5c264d2c60818a6323b68b8e602b89dece864ade /qtcreator.qbs | |
parent | 0e66ac1e54c1e9d5ccfbbd25f7d961f10554dc40 (diff) |
Move some functions out of defaults.js and make them project properties.
The one that is left is the only one that's actually a function taking
real input.
This saves a number of includes.
Change-Id: I77e777bbf6ed7ed4086f9a40de4dc3dd8c91a7af
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'qtcreator.qbs')
-rw-r--r-- | qtcreator.qbs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qtcreator.qbs b/qtcreator.qbs index 3a1e4b3a0f..deb1e82391 100644 --- a/qtcreator.qbs +++ b/qtcreator.qbs @@ -40,6 +40,14 @@ Project { property string ide_bin_path: qbs.targetOS.contains("osx") ? ide_app_target + ".app/Contents/MacOS" : ide_app_path + property bool testsEnabled: qbs.getenv("TEST") || qbs.buildVariant === "debug" + property stringList generalDefines: [ + "QT_CREATOR", + 'IDE_LIBRARY_BASENAME="lib"', + "QT_DISABLE_DEPRECATED_BEFORE=0x040900", + "QT_NO_CAST_TO_ASCII", + "QT_NO_CAST_FROM_ASCII" + ].concat(testsEnabled ? ["WITH_TESTS"] : []) moduleSearchPaths: "qbs" references: [ |