forked from qt-creator/qt-creator
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>
22 lines
767 B
QML
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: []
|
|
}
|