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:
Orgad Shaneh
2016-05-01 08:36:33 +03:00
committed by Orgad Shaneh
parent 00324a9af1
commit e231073a40
6 changed files with 10 additions and 0 deletions

View File

@@ -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" ] }

View File

@@ -22,6 +22,8 @@ QtcLibrary {
return libs;
}
cpp.enableExceptions: true
Properties {
condition: qbs.targetOS.contains("osx")
cpp.frameworks: ["Foundation"]

View File

@@ -29,6 +29,7 @@ QtcPlugin {
]
cpp.includePaths: base.concat([project.sharedSourcesDir + "/registryaccess"])
cpp.enableExceptions: true
pluginRecommends: [
"CppEditor"

View File

@@ -10,6 +10,7 @@ QtcPlugin {
Depends { name: "Core" }
cpp.includePaths: base.concat([path]) // Needed for the highlighterengine autotest.
cpp.enableExceptions: true
files: [
"autocompleter.cpp",

View File

@@ -13,6 +13,8 @@ QtcPlugin {
Depends { name: "ProjectExplorer" }
Depends { name: "TextEditor" }
cpp.enableExceptions: true
Group {
name: "General"
files: [

View File

@@ -2,6 +2,9 @@ import qbs
QtcAutotest {
name: "Name demangler autotest"
cpp.enableExceptions: true
Group {
name: "Sources from Debugger plugin"
prefix: project.debuggerDir + "namedemangler/"