forked from qt-creator/qt-creator
qbs build: Adapt to function renaming.
Change-Id: Ia4cc4447e59aaa4f283a7818847633bb7cf9a8aa Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
@@ -45,7 +45,7 @@ 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 bool testsEnabled: qbs.getEnv("TEST") || qbs.buildVariant === "debug"
|
||||
property stringList generalDefines: [
|
||||
"QT_CREATOR",
|
||||
'IDE_LIBRARY_BASENAME="' + libDirName + '"',
|
||||
|
@@ -44,7 +44,7 @@ QtcLibrary {
|
||||
"sshsendfacility.cpp", "sshsendfacility_p.h",
|
||||
].concat(botanFiles)
|
||||
|
||||
property var useSystemBotan: qbs.getenv("USE_SYSTEM_BOTAN") === "1"
|
||||
property var useSystemBotan: qbs.getEnv("USE_SYSTEM_BOTAN") === "1"
|
||||
property var botanIncludes: {
|
||||
var result = ["../3rdparty"];
|
||||
if (useSystemBotan)
|
||||
|
@@ -11,7 +11,7 @@ QtcPlugin {
|
||||
Depends { name: "TextEditor" }
|
||||
Depends { name: "Utils" }
|
||||
|
||||
property string llvmInstallDir: qbs.getenv("LLVM_INSTALL_DIR")
|
||||
property string llvmInstallDir: qbs.getEnv("LLVM_INSTALL_DIR")
|
||||
condition: llvmInstallDir && !llvmInstallDir.isEmpty
|
||||
|
||||
property bool clangCompletion: true
|
||||
@@ -33,7 +33,7 @@ QtcPlugin {
|
||||
}
|
||||
|
||||
// Find llvm-config* in PATH
|
||||
var pathListString = qbs.getenv("PATH");
|
||||
var pathListString = qbs.getEnv("PATH");
|
||||
var separator = qbs.hostOS.contains("windows") ? ";" : ":";
|
||||
var pathList = pathListString.split(separator);
|
||||
for (var i = 0; i < llvmConfigVariants.length; ++i) {
|
||||
|
@@ -12,7 +12,7 @@ Project {
|
||||
]
|
||||
|
||||
property bool qbsSubModuleExists: File.exists(qbsProject.qbsBaseDir + "/qbs.qbs")
|
||||
property path qbs_install_dir: qbs.getenv("QBS_INSTALL_DIR")
|
||||
property path qbs_install_dir: qbs.getEnv("QBS_INSTALL_DIR")
|
||||
property bool useExternalQbs: qbs_install_dir
|
||||
property bool buildQbsProjectManager: useExternalQbs || qbsSubModuleExists
|
||||
Project {
|
||||
|
Reference in New Issue
Block a user