Files
qt-creator/qbs/defaults.js
Christian Kandeler c2ac0902ed 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>
2013-09-09 12:04:01 +02:00

12 lines
293 B
JavaScript

// see PluginSpecPrivate::loadLibrary()
function qtLibraryName(qbs, name)
{
if (qbs.debugInformation) {
if (qbs.targetOS.contains("windows"))
return name + "d";
else if (qbs.targetOS.contains("osx"))
return name + "_debug";
}
return name;
}