forked from qt-creator/qt-creator
qbs build: Remove unneeded Project items
Also update type descriptions. Change-Id: I2b7d8814913cfb72cb8280601338ab763d8fabe6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
"qbs.Environment",
|
"qbs.Environment",
|
||||||
"qbs.File",
|
"qbs.File",
|
||||||
"qbs.FileInfo",
|
"qbs.FileInfo",
|
||||||
|
"qbs.Host",
|
||||||
"qbs.ModUtils",
|
"qbs.ModUtils",
|
||||||
"qbs.PathTools",
|
"qbs.PathTools",
|
||||||
"qbs.PkgConfig",
|
"qbs.PkgConfig",
|
||||||
|
6
src/libs/3rdparty/libptyqt/ptyqt.qbs
vendored
6
src/libs/3rdparty/libptyqt/ptyqt.qbs
vendored
@@ -1,9 +1,6 @@
|
|||||||
import qbs
|
QtcLibrary {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "ptyqt"
|
name: "ptyqt"
|
||||||
|
|
||||||
QtcLibrary {
|
|
||||||
Depends { name: "Qt.core" }
|
Depends { name: "Qt.core" }
|
||||||
Depends { name: "Qt.network"; condition: qbs.targetOS.contains("windows") }
|
Depends { name: "Qt.network"; condition: qbs.targetOS.contains("windows") }
|
||||||
Depends { name: "winpty"; condition: qbs.targetOS.contains("windows") }
|
Depends { name: "winpty"; condition: qbs.targetOS.contains("windows") }
|
||||||
@@ -41,5 +38,4 @@ Project {
|
|||||||
Depends { name: "winpty"; condition: qbs.targetOS.contains("windows") }
|
Depends { name: "winpty"; condition: qbs.targetOS.contains("windows") }
|
||||||
cpp.includePaths: base.concat(exportingProduct.sourceDirectory)
|
cpp.includePaths: base.concat(exportingProduct.sourceDirectory)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
4
src/libs/3rdparty/libvterm/vterm.qbs
vendored
4
src/libs/3rdparty/libvterm/vterm.qbs
vendored
@@ -1,5 +1,4 @@
|
|||||||
Project {
|
QtcLibrary {
|
||||||
QtcLibrary {
|
|
||||||
name: "vterm"
|
name: "vterm"
|
||||||
type: "staticlibrary"
|
type: "staticlibrary"
|
||||||
|
|
||||||
@@ -30,5 +29,4 @@ Project {
|
|||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
cpp.includePaths: base.concat("include")
|
cpp.includePaths: base.concat("include")
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
6
src/libs/3rdparty/yaml-cpp/yaml-cpp.qbs
vendored
6
src/libs/3rdparty/yaml-cpp/yaml-cpp.qbs
vendored
@@ -1,7 +1,4 @@
|
|||||||
import qbs 1.0
|
QtcLibrary {
|
||||||
|
|
||||||
Project {
|
|
||||||
QtcLibrary {
|
|
||||||
name: "yaml-cpp"
|
name: "yaml-cpp"
|
||||||
|
|
||||||
cpp.defines: base.concat(["YAML_CPP_DLL", "yaml_cpp_EXPORTS"])
|
cpp.defines: base.concat(["YAML_CPP_DLL", "yaml_cpp_EXPORTS"])
|
||||||
@@ -102,5 +99,4 @@ Project {
|
|||||||
cpp.includePaths: [exportingProduct.sourceDirectory + "/include/"]
|
cpp.includePaths: [exportingProduct.sourceDirectory + "/include/"]
|
||||||
cpp.defines: base.concat(["YAML_CPP_DLL"])
|
cpp.defines: base.concat(["YAML_CPP_DLL"])
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,5 @@
|
|||||||
import qbs 1.0
|
QtcLibrary {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "Aggregation"
|
name: "Aggregation"
|
||||||
|
|
||||||
QtcLibrary {
|
|
||||||
Depends { name: "Qt.core" }
|
Depends { name: "Qt.core" }
|
||||||
cpp.defines: base.concat("AGGREGATION_LIBRARY")
|
cpp.defines: base.concat("AGGREGATION_LIBRARY")
|
||||||
|
|
||||||
@@ -12,6 +8,5 @@ Project {
|
|||||||
"aggregate.h",
|
"aggregate.h",
|
||||||
"aggregation_global.h",
|
"aggregation_global.h",
|
||||||
]
|
]
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcLibrary {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "CPlusPlus"
|
name: "CPlusPlus"
|
||||||
|
|
||||||
QtcLibrary {
|
|
||||||
cpp.includePaths: base.concat("../3rdparty")
|
cpp.includePaths: base.concat("../3rdparty")
|
||||||
cpp.defines: base.concat([
|
cpp.defines: base.concat([
|
||||||
"NDEBUG",
|
"NDEBUG",
|
||||||
@@ -131,5 +128,4 @@ Project {
|
|||||||
exportingProduct.sourceDirectory + "/../3rdparty"
|
exportingProduct.sourceDirectory + "/../3rdparty"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcLibrary {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "ExtensionSystem"
|
name: "ExtensionSystem"
|
||||||
|
|
||||||
QtcLibrary {
|
|
||||||
cpp.defines: base.concat([
|
cpp.defines: base.concat([
|
||||||
"EXTENSIONSYSTEM_LIBRARY",
|
"EXTENSIONSYSTEM_LIBRARY",
|
||||||
"IDE_TEST_DIR=\".\""
|
"IDE_TEST_DIR=\".\""
|
||||||
@@ -41,5 +38,4 @@ Project {
|
|||||||
Export {
|
Export {
|
||||||
Depends { name: "Qt.core" }
|
Depends { name: "Qt.core" }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcLibrary {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "LanguageServerProtocol"
|
name: "LanguageServerProtocol"
|
||||||
|
|
||||||
QtcLibrary {
|
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
cpp.defines: base.concat("LANGUAGESERVERPROTOCOL_LIBRARY")
|
cpp.defines: base.concat("LANGUAGESERVERPROTOCOL_LIBRARY")
|
||||||
|
|
||||||
@@ -50,5 +47,4 @@ Project {
|
|||||||
"workspace.cpp",
|
"workspace.cpp",
|
||||||
"workspace.h",
|
"workspace.h",
|
||||||
]
|
]
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcLibrary {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "LanguageUtils"
|
name: "LanguageUtils"
|
||||||
|
|
||||||
QtcLibrary {
|
|
||||||
cpp.defines: base.concat(["LANGUAGEUTILS_LIBRARY"])
|
cpp.defines: base.concat(["LANGUAGEUTILS_LIBRARY"])
|
||||||
cpp.optimization: "fast"
|
cpp.optimization: "fast"
|
||||||
|
|
||||||
@@ -16,5 +13,4 @@ Project {
|
|||||||
"fakemetaobject.h",
|
"fakemetaobject.h",
|
||||||
"languageutils_global.h",
|
"languageutils_global.h",
|
||||||
]
|
]
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcLibrary {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "QmlDebug"
|
name: "QmlDebug"
|
||||||
|
|
||||||
QtcLibrary {
|
|
||||||
cpp.defines: base.concat("QMLDEBUG_LIBRARY")
|
cpp.defines: base.concat("QMLDEBUG_LIBRARY")
|
||||||
|
|
||||||
Depends { name: "Qt"; submodules: ["gui", "network"] }
|
Depends { name: "Qt"; submodules: ["gui", "network"] }
|
||||||
@@ -36,5 +33,4 @@ Project {
|
|||||||
"qpacketprotocol.cpp",
|
"qpacketprotocol.cpp",
|
||||||
"qpacketprotocol.h",
|
"qpacketprotocol.h",
|
||||||
]
|
]
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcLibrary {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "QmlJS"
|
name: "QmlJS"
|
||||||
|
|
||||||
QtcLibrary {
|
|
||||||
cpp.defines: base.concat(["QMLJS_LIBRARY"])
|
cpp.defines: base.concat(["QMLJS_LIBRARY"])
|
||||||
cpp.optimization: "fast"
|
cpp.optimization: "fast"
|
||||||
|
|
||||||
@@ -79,5 +76,4 @@ Project {
|
|||||||
Depends { name: "CPlusPlus" }
|
Depends { name: "CPlusPlus" }
|
||||||
Depends { name: "LanguageUtils" }
|
Depends { name: "LanguageUtils" }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,11 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcLibrary {
|
||||||
|
|
||||||
import QtcLibrary
|
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "Tracing"
|
name: "Tracing"
|
||||||
|
|
||||||
QtcLibrary {
|
|
||||||
Depends { name: "Qt"; submodules: ["qml", "quick", "gui"] }
|
Depends { name: "Qt"; submodules: ["qml", "quick", "gui"] }
|
||||||
Depends { name: "Qt.testlib"; condition: project.withAutotests }
|
Depends { name: "Qt.testlib"; condition: project.withAutotests }
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
@@ -48,5 +43,4 @@ Project {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cpp.defines: base.concat("TRACING_LIBRARY")
|
cpp.defines: base.concat("TRACING_LIBRARY")
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,14 +1,9 @@
|
|||||||
import qbs 1.0
|
|
||||||
import qbs.FileInfo
|
import qbs.FileInfo
|
||||||
|
|
||||||
Project {
|
QtcLibrary {
|
||||||
name: "Utils"
|
name: "Utils"
|
||||||
|
|
||||||
QtcLibrary {
|
|
||||||
cpp.includePaths: base.concat("mimetypes2", ".")
|
cpp.includePaths: base.concat("mimetypes2", ".")
|
||||||
cpp.defines: base.concat([
|
cpp.defines: base.concat(["UTILS_LIBRARY"])
|
||||||
"UTILS_LIBRARY"
|
|
||||||
])
|
|
||||||
cpp.dynamicLibraries: {
|
cpp.dynamicLibraries: {
|
||||||
var libs = [];
|
var libs = [];
|
||||||
if (qbs.targetOS.contains("windows")) {
|
if (qbs.targetOS.contains("windows")) {
|
||||||
@@ -477,5 +472,4 @@ Project {
|
|||||||
Depends { name: "Tasking" }
|
Depends { name: "Tasking" }
|
||||||
cpp.includePaths: base.concat("mimetypes2")
|
cpp.includePaths: base.concat("mimetypes2")
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcPlugin {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "Android"
|
name: "Android"
|
||||||
|
|
||||||
QtcPlugin {
|
|
||||||
Depends { name: "Qt"; submodules: ["widgets", "xml", "network"] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml", "network"] }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "Debugger" }
|
Depends { name: "Debugger" }
|
||||||
@@ -122,5 +119,4 @@ Project {
|
|||||||
"sdkmanageroutputparser_test.h",
|
"sdkmanageroutputparser_test.h",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
import qbs 1.0
|
|
||||||
import qbs.FileInfo
|
import qbs.FileInfo
|
||||||
import qbs.Utilities
|
import qbs.Utilities
|
||||||
|
|
||||||
Project {
|
QtcPlugin {
|
||||||
name: "Core"
|
name: "Core"
|
||||||
|
|
||||||
QtcPlugin {
|
|
||||||
Depends {
|
Depends {
|
||||||
name: "Qt"
|
name: "Qt"
|
||||||
submodules: ["widgets", "xml", "network", "qml", "sql", "printsupport"]
|
submodules: ["widgets", "xml", "network", "qml", "sql", "printsupport"]
|
||||||
@@ -379,5 +376,4 @@ Project {
|
|||||||
Depends { name: "Aggregation" }
|
Depends { name: "Aggregation" }
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,14 +1,12 @@
|
|||||||
import qbs 1.0
|
QtcPlugin {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "Debugger"
|
name: "Debugger"
|
||||||
|
|
||||||
QtcPlugin {
|
Depends { name: "Qt"; submodules: ["network", "widgets"] }
|
||||||
Depends { name: "Qt"; submodules: ["widgets", "network"] }
|
|
||||||
Depends { name: "Aggregation" }
|
Depends { name: "Aggregation" }
|
||||||
Depends { name: "CPlusPlus" }
|
Depends { name: "CPlusPlus" }
|
||||||
Depends { name: "QmlDebug" }
|
|
||||||
Depends { name: "LanguageUtils" }
|
Depends { name: "LanguageUtils" }
|
||||||
|
Depends { name: "QmlDebug" }
|
||||||
Depends { name: "QmlJS" }
|
Depends { name: "QmlJS" }
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
|
|
||||||
@@ -18,18 +16,12 @@ Project {
|
|||||||
Depends { name: "QtSupport" }
|
Depends { name: "QtSupport" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
|
|
||||||
pluginTestDepends: [
|
pluginRecommends: ["BinEditor"]
|
||||||
"QmakeProjectManager"
|
pluginTestDepends: ["QmakeProjectManager"]
|
||||||
]
|
|
||||||
|
|
||||||
cpp.includePaths: base.concat([project.sharedSourcesDir + "/registryaccess"])
|
cpp.includePaths: base.concat([project.sharedSourcesDir + "/registryaccess"])
|
||||||
cpp.enableExceptions: true
|
cpp.enableExceptions: true
|
||||||
|
|
||||||
pluginRecommends: [
|
|
||||||
"CppEditor",
|
|
||||||
"BinEditor"
|
|
||||||
]
|
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "General"
|
name: "General"
|
||||||
files: [
|
files: [
|
||||||
@@ -266,5 +258,4 @@ Project {
|
|||||||
Export {
|
Export {
|
||||||
Depends { name: "CPlusPlus" }
|
Depends { name: "CPlusPlus" }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,12 +1,9 @@
|
|||||||
import qbs.Utilities
|
import qbs.Utilities
|
||||||
|
|
||||||
Project {
|
QtcPlugin {
|
||||||
name: "Help"
|
name: "Help"
|
||||||
|
|
||||||
QtcPlugin {
|
Depends { name: "Qt"; submodules: ["help", "network", "sql"] }
|
||||||
name: "Help"
|
|
||||||
|
|
||||||
Depends { name: "Qt"; submodules: ["help", "network", "sql"]; }
|
|
||||||
Depends { name: "Qt.printsupport" }
|
Depends { name: "Qt.printsupport" }
|
||||||
Depends { name: "Qt.webenginewidgets"; required: false }
|
Depends { name: "Qt.webenginewidgets"; required: false }
|
||||||
|
|
||||||
@@ -86,5 +83,4 @@ Project {
|
|||||||
"topicchooser.cpp", "topicchooser.h",
|
"topicchooser.cpp", "topicchooser.h",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcPlugin {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "ProjectExplorer"
|
name: "ProjectExplorer"
|
||||||
|
|
||||||
QtcPlugin {
|
|
||||||
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "qml"] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "qml"] }
|
||||||
Depends { name: "Aggregation" }
|
Depends { name: "Aggregation" }
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
@@ -257,5 +254,4 @@ Project {
|
|||||||
Export {
|
Export {
|
||||||
Depends { name: "Qt.network" }
|
Depends { name: "Qt.network" }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcPlugin {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "QmakeProjectManager"
|
name: "QmakeProjectManager"
|
||||||
|
|
||||||
QtcPlugin {
|
|
||||||
Depends { name: "Qt"; submodules: ["widgets", "network"] }
|
Depends { name: "Qt"; submodules: ["widgets", "network"] }
|
||||||
Depends { name: "QmlJS" }
|
Depends { name: "QmlJS" }
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
@@ -81,5 +78,4 @@ Project {
|
|||||||
Export {
|
Export {
|
||||||
Depends { name: "QtSupport" }
|
Depends { name: "QtSupport" }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcPlugin {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "QtSupport"
|
name: "QtSupport"
|
||||||
|
|
||||||
QtcPlugin {
|
|
||||||
Depends { name: "Qt"; submodules: ["widgets", "xml"]; }
|
Depends { name: "Qt"; submodules: ["widgets", "xml"]; }
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
|
|
||||||
@@ -118,5 +115,4 @@ Project {
|
|||||||
"gettingstartedwelcomepage.h"
|
"gettingstartedwelcomepage.h"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
import qbs 1.0
|
QtcPlugin {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "RemoteLinux"
|
name: "RemoteLinux"
|
||||||
|
|
||||||
QtcPlugin {
|
|
||||||
Depends { name: "Qt.widgets" }
|
Depends { name: "Qt.widgets" }
|
||||||
Depends { name: "QmlDebug" }
|
Depends { name: "QmlDebug" }
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
@@ -74,5 +71,4 @@ Project {
|
|||||||
Depends { name: "Debugger" }
|
Depends { name: "Debugger" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,15 +1,13 @@
|
|||||||
import qbs 1.0
|
QtcPlugin {
|
||||||
|
|
||||||
Project {
|
|
||||||
name: "ResourceEditor"
|
name: "ResourceEditor"
|
||||||
|
|
||||||
QtcPlugin {
|
|
||||||
Depends { name: "Qt"; submodules: ["widgets", "xml"] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml"] }
|
||||||
|
|
||||||
Depends { name: "Aggregation" }
|
Depends { name: "Aggregation" }
|
||||||
Depends { name: "ProjectExplorer" }
|
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
|
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
|
Depends { name: "ProjectExplorer" }
|
||||||
|
|
||||||
cpp.defines: base.concat(["RESOURCEEDITOR_LIBRARY"])
|
cpp.defines: base.concat(["RESOURCEEDITOR_LIBRARY"])
|
||||||
|
|
||||||
@@ -35,5 +33,4 @@ Project {
|
|||||||
"undocommands.cpp", "undocommands_p.h",
|
"undocommands.cpp", "undocommands_p.h",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,11 +1,9 @@
|
|||||||
import qbs 1.0
|
|
||||||
import qbs.FileInfo
|
import qbs.FileInfo
|
||||||
import qbs.Environment
|
import qbs.Environment
|
||||||
|
|
||||||
Project {
|
QtcPlugin {
|
||||||
name: "TextEditor"
|
name: "TextEditor"
|
||||||
|
|
||||||
QtcPlugin {
|
|
||||||
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "printsupport"] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "printsupport"] }
|
||||||
Depends { name: "Aggregation" }
|
Depends { name: "Aggregation" }
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
@@ -233,5 +231,4 @@ Project {
|
|||||||
"texteditor_test.cpp",
|
"texteditor_test.cpp",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user