Files
qt-creator/tests/auto/extensionsystem/plugin.qbs
Christian Kandeler a0f956f050 qbs build: Introduce new module "qtc".
The qtc module gathers properties that used to live in the top-level
project file. This is the first step towards making it possible to build
plugins against an installed Qt Creator ("out of source build").

Change-Id: Ia1514cc9c888e80be01b308e908de48980fcbdb8
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-06-08 08:46:00 +00:00

22 lines
767 B
QML

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: []
}