forked from qt-creator/qt-creator
Qbs: Enable exceptions where needed
Align with qmake project Change-Id: Ic68619a0b5e3bf6052c8b52165337063a24e2b5d Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
00324a9af1
commit
e231073a40
@@ -6,6 +6,7 @@ QtcLibrary {
|
|||||||
cpp.defines: base.concat(["QSSH_LIBRARY"]).concat(botanDefines)
|
cpp.defines: base.concat(["QSSH_LIBRARY"]).concat(botanDefines)
|
||||||
cpp.includePaths: botanIncludes
|
cpp.includePaths: botanIncludes
|
||||||
cpp.dynamicLibraries: botanLibs
|
cpp.dynamicLibraries: botanLibs
|
||||||
|
cpp.enableExceptions: true
|
||||||
|
|
||||||
Depends { name: "Qt"; submodules: ["widgets", "network" ] }
|
Depends { name: "Qt"; submodules: ["widgets", "network" ] }
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ QtcLibrary {
|
|||||||
return libs;
|
return libs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cpp.enableExceptions: true
|
||||||
|
|
||||||
Properties {
|
Properties {
|
||||||
condition: qbs.targetOS.contains("osx")
|
condition: qbs.targetOS.contains("osx")
|
||||||
cpp.frameworks: ["Foundation"]
|
cpp.frameworks: ["Foundation"]
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ QtcPlugin {
|
|||||||
]
|
]
|
||||||
|
|
||||||
cpp.includePaths: base.concat([project.sharedSourcesDir + "/registryaccess"])
|
cpp.includePaths: base.concat([project.sharedSourcesDir + "/registryaccess"])
|
||||||
|
cpp.enableExceptions: true
|
||||||
|
|
||||||
pluginRecommends: [
|
pluginRecommends: [
|
||||||
"CppEditor"
|
"CppEditor"
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ QtcPlugin {
|
|||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
|
|
||||||
cpp.includePaths: base.concat([path]) // Needed for the highlighterengine autotest.
|
cpp.includePaths: base.concat([path]) // Needed for the highlighterengine autotest.
|
||||||
|
cpp.enableExceptions: true
|
||||||
|
|
||||||
files: [
|
files: [
|
||||||
"autocompleter.cpp",
|
"autocompleter.cpp",
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ QtcPlugin {
|
|||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
|
|
||||||
|
cpp.enableExceptions: true
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "General"
|
name: "General"
|
||||||
files: [
|
files: [
|
||||||
|
|||||||
@@ -2,6 +2,9 @@ import qbs
|
|||||||
|
|
||||||
QtcAutotest {
|
QtcAutotest {
|
||||||
name: "Name demangler autotest"
|
name: "Name demangler autotest"
|
||||||
|
|
||||||
|
cpp.enableExceptions: true
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Sources from Debugger plugin"
|
name: "Sources from Debugger plugin"
|
||||||
prefix: project.debuggerDir + "namedemangler/"
|
prefix: project.debuggerDir + "namedemangler/"
|
||||||
|
|||||||
Reference in New Issue
Block a user