aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/extensionsystem/plugin.qbs
blob: a0496e7dbb5bfaa6922865daeaeafc135681ec04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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" }
    Depends { name: "qtc" }
    targetName: QtcFunctions.qtLibraryName(qbs, name.split('_')[1])
    destinationDirectory: project.buildDirectory + '/'
                          + FileInfo.relativePath(project.ide_source_tree, sourceDirectory)
    cpp.rpaths: [
        project.buildDirectory + "/" + qtc.libDirName + "/qtcreator",
        project.buildDirectory + "/" + qtc.libDirName + "/qtcreator/plugins"
    ].concat(additionalRPaths)
    cpp.cxxLanguageVersion: "c++11"
    property pathList additionalRPaths: []
}