forked from qt-creator/qt-creator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qtcreator.qbs
35 lines (33 loc) · 1.13 KB
/
qtcreator.qbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Project {
name: "Qt Creator"
minimumQbsVersion: "2.0.0"
property path ide_source_tree: path
property pathList additionalPlugins: []
property pathList additionalLibs: []
property pathList additionalTools: []
property pathList additionalAutotests: []
property string sharedSourcesDir: path + "/src/shared"
qbsSearchPaths: "qbs"
references: [
"doc/doc.qbs",
"src/src.qbs",
"share/share.qbs",
"share/qtcreator/translations/translations.qbs",
"tests/tests.qbs"
]
Product {
name: "cmake project files"
files: {
var patterns = ["**/CMakeLists.txt", "**/*.cmake", "**/*.cmake.in"];
var list = [].concat(patterns);
var props = [additionalPlugins, additionalLibs, additionalTools, additionalAutotests];
for (var i = 0; i < props.length; ++i) {
for (var j = 0; j < props[i].length; ++j) {
for (var k = 0; k < patterns.length; ++k)
list.push(props[i][j] + "/" + patterns[k]);
}
}
return list;
}
}
}