summaryrefslogtreecommitdiff
path: root/tests/auto/extensionsystem/plugin.qbs
blob: cff24baff08bd0858d4215832bff3d390f47a915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import qbs
import qbs.FileInfo
import QtcFunctions

DynamicLibrary {
    Depends { name: "Aggregation" }
    Depends { name: "ExtensionSystem" }
    Depends { name: "cpp" }
    Depends { name: "Qt.core" }
    Depends { name: "copyable_resource" }
    targetName: QtcFunctions.qtLibraryName(qbs, name.split('_')[1])
    destinationDirectory: project.buildDirectory + '/'
                          + FileInfo.relativePath(project.ide_source_tree, sourceDirectory)
    cpp.rpaths: [
        project.buildDirectory + "/" + project.libDirName + "/qtcreator",
        project.buildDirectory + "/" + project.libDirName + "/qtcreator/plugins"
    ].concat(additionalRPaths)
    property pathList additionalRPaths: []
}