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.includePaths: botanIncludes
|
||||
cpp.dynamicLibraries: botanLibs
|
||||
cpp.enableExceptions: true
|
||||
|
||||
Depends { name: "Qt"; submodules: ["widgets", "network" ] }
|
||||
|
||||
|
||||
@@ -22,6 +22,8 @@ QtcLibrary {
|
||||
return libs;
|
||||
}
|
||||
|
||||
cpp.enableExceptions: true
|
||||
|
||||
Properties {
|
||||
condition: qbs.targetOS.contains("osx")
|
||||
cpp.frameworks: ["Foundation"]
|
||||
|
||||
@@ -29,6 +29,7 @@ QtcPlugin {
|
||||
]
|
||||
|
||||
cpp.includePaths: base.concat([project.sharedSourcesDir + "/registryaccess"])
|
||||
cpp.enableExceptions: true
|
||||
|
||||
pluginRecommends: [
|
||||
"CppEditor"
|
||||
|
||||
@@ -10,6 +10,7 @@ QtcPlugin {
|
||||
Depends { name: "Core" }
|
||||
|
||||
cpp.includePaths: base.concat([path]) // Needed for the highlighterengine autotest.
|
||||
cpp.enableExceptions: true
|
||||
|
||||
files: [
|
||||
"autocompleter.cpp",
|
||||
|
||||
@@ -13,6 +13,8 @@ QtcPlugin {
|
||||
Depends { name: "ProjectExplorer" }
|
||||
Depends { name: "TextEditor" }
|
||||
|
||||
cpp.enableExceptions: true
|
||||
|
||||
Group {
|
||||
name: "General"
|
||||
files: [
|
||||
|
||||
@@ -2,6 +2,9 @@ import qbs
|
||||
|
||||
QtcAutotest {
|
||||
name: "Name demangler autotest"
|
||||
|
||||
cpp.enableExceptions: true
|
||||
|
||||
Group {
|
||||
name: "Sources from Debugger plugin"
|
||||
prefix: project.debuggerDir + "namedemangler/"
|
||||
|
||||
Reference in New Issue
Block a user