diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-08-25 11:52:59 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-08-26 18:32:44 +0200 |
commit | a6a216e31041f6c878a37d9af169f221d99978c8 (patch) | |
tree | 3cbb3c1376eb0b77bf24051b7e20b888af3aef28 /qmake/doc/src | |
parent | 5e98769602c1e7aa6ceeb45ffeee1680c58f4cda (diff) |
qmake/vcxproj: Read C language standard from QMAKE_CFLAGS
The vcxproj generator completely ignored QMAKE_CFLAGS and did only read
QMAKE_CXXFLAGS. The msbuild-internal "cl compiler tool" contains the
flags for both, C and C++. It is to risky to take all QMAKE_CFLAGS into
account for the "cl compiler tool", because this might collide with what
is specified in QMAKE_CXXFLAGS. Therefore, we only read the
/std:... compiler option from QMAKE_CFLAGS and set the
LanguageStandard_C flag in the msbuild file.
Pick-to: 6.2 5.15
Task-number: QTBUG-89296
Change-Id: I885061802c1350b293a7868d4c9a9367d30e2380
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'qmake/doc/src')
0 files changed, 0 insertions, 0 deletions