2013-08-26 17:50:02 +02:00
|
|
|
import qbs
|
|
|
|
|
import qbs.FileInfo
|
2013-10-02 17:52:45 +02:00
|
|
|
import QtcFunctions
|
2013-08-26 17:50:02 +02:00
|
|
|
|
|
|
|
|
DynamicLibrary {
|
|
|
|
|
Depends { name: "Aggregation" }
|
|
|
|
|
Depends { name: "ExtensionSystem" }
|
|
|
|
|
Depends { name: "cpp" }
|
|
|
|
|
Depends { name: "Qt.core" }
|
2014-07-16 17:13:41 +02:00
|
|
|
Depends { name: "copyable_resource" }
|
2016-05-17 10:50:51 +02:00
|
|
|
Depends { name: "qtc" }
|
2013-09-18 18:05:41 +02:00
|
|
|
targetName: QtcFunctions.qtLibraryName(qbs, name.split('_')[1])
|
2014-07-16 13:34:55 +02:00
|
|
|
destinationDirectory: project.buildDirectory + '/'
|
|
|
|
|
+ FileInfo.relativePath(project.ide_source_tree, sourceDirectory)
|
2013-08-26 17:50:02 +02:00
|
|
|
cpp.rpaths: [
|
2016-05-17 10:50:51 +02:00
|
|
|
project.buildDirectory + "/" + qtc.libDirName + "/qtcreator",
|
|
|
|
|
project.buildDirectory + "/" + qtc.libDirName + "/qtcreator/plugins"
|
2013-08-26 17:50:02 +02:00
|
|
|
].concat(additionalRPaths)
|
2016-02-24 15:46:36 +01:00
|
|
|
cpp.cxxLanguageVersion: "c++11"
|
2013-08-26 17:50:02 +02:00
|
|
|
property pathList additionalRPaths: []
|
|
|
|
|
}
|