diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-08-15 12:57:50 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2014-12-18 12:13:41 +0100 |
commit | a50456dcb0a13ae43427190140db71aefef68f1e (patch) | |
tree | d494f643669dcbfa2237be1a61078165da4d34e9 /qbs-resources | |
parent | d3f70ef8c249e8bce65c31dca48caa550a4af4e9 (diff) |
Enable C++11.
Change-Id: I8b0513e59c259d0535c6d0299ed64f531ae977c6
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'qbs-resources')
-rw-r--r-- | qbs-resources/imports/QbsApp.qbs | 1 | ||||
-rw-r--r-- | qbs-resources/imports/QbsAutotest.qbs | 1 | ||||
-rw-r--r-- | qbs-resources/imports/QbsLibrary.qbs | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/qbs-resources/imports/QbsApp.qbs b/qbs-resources/imports/QbsApp.qbs index f940d8aa8..530e9fddb 100644 --- a/qbs-resources/imports/QbsApp.qbs +++ b/qbs-resources/imports/QbsApp.qbs @@ -9,6 +9,7 @@ QbsProduct { cpp.includePaths: [ "../shared", // for the logger ] + cpp.cxxLanguageVersion: "c++11" Group { fileTagsFilter: product.type qbs.install: true diff --git a/qbs-resources/imports/QbsAutotest.qbs b/qbs-resources/imports/QbsAutotest.qbs index df7967cf5..85b31872b 100644 --- a/qbs-resources/imports/QbsAutotest.qbs +++ b/qbs-resources/imports/QbsAutotest.qbs @@ -7,6 +7,7 @@ QtApplication { Depends { name: "Qt.test" } Depends { name: "qbscore" } cpp.includePaths: "../../../src" + cpp.cxxLanguageVersion: "c++11" destinationDirectory: "bin" Group { name: "logging" diff --git a/qbs-resources/imports/QbsLibrary.qbs b/qbs-resources/imports/QbsLibrary.qbs index e358fecfa..4b5d0f34a 100644 --- a/qbs-resources/imports/QbsLibrary.qbs +++ b/qbs-resources/imports/QbsLibrary.qbs @@ -10,6 +10,7 @@ QbsProduct { cpp.defines: base.concat(type == "staticlibrary" ? ["QBS_STATIC_LIB"] : ["QBS_LIBRARY"]) cpp.installNamePrefix: "@rpath" cpp.visibility: "minimal" + cpp.cxxLanguageVersion: "c++11" property string headerInstallPrefix: "/include/qbs" Group { fileTagsFilter: product.type.concat("dynamiclibrary_symlink") |