diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-08-01 15:08:51 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-08-28 08:40:16 +0000 |
commit | 40787b4d077eea1211f43d9f247c560957bd6887 (patch) | |
tree | 5e44c225aa4eddbb3c22ca0481524f6c875c3a5d /share/qbs/modules/cpp/CppModule.qbs | |
parent | d36064bc2e486d81e8403e45ddf91311aa066fdb (diff) |
Introduce the cpufeatures module
Provides an abstraction for the respective compiler flags. The initial
set of properties is the superset of what Qt can configure and what MSVC
supports.
Change-Id: I1be90361f2f104a55d2a784a69625396680b0713
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'share/qbs/modules/cpp/CppModule.qbs')
-rw-r--r-- | share/qbs/modules/cpp/CppModule.qbs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/CppModule.qbs b/share/qbs/modules/cpp/CppModule.qbs index f5adc27fc..c340519ac 100644 --- a/share/qbs/modules/cpp/CppModule.qbs +++ b/share/qbs/modules/cpp/CppModule.qbs @@ -35,6 +35,9 @@ import qbs.WindowsUtils Module { condition: false + + Depends { name: "cpufeatures" } + version: compilerVersion property string compilerVersion: [compilerVersionMajor, compilerVersionMinor, compilerVersionPatch].join(".") |