Commit e231073a authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Qbs: Enable exceptions where needed

Align with qmake project

Change-Id: Ic68619a0b5e3bf6052c8b52165337063a24e2b5d
Reviewed-by: Jake Petroules's avatarJake Petroules <jake.petroules@qt.io>
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
parent 00324a9a
......@@ -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/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment