forked from qt-creator/qt-creator
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>
12 lines
293 B
JavaScript
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;
|
|
}
|