Add support for -Zc:throwingNew option to vcxproj generation for 2015
Task-number: QTBUG-48898 Change-Id: I56abae0cbc56e07fd9bb554b84927c327c1b3232 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
This commit is contained in:
parent
b29d18f736
commit
3890988bb6
@ -922,6 +922,8 @@ bool VCCLCompilerTool::parseOption(const char* option)
|
|||||||
TreatWChar_tAsBuiltInType = ((*c) == '-' ? _False : _True);
|
TreatWChar_tAsBuiltInType = ((*c) == '-' ? _False : _True);
|
||||||
else if (config->CompilerVersion >= NET2013 && strncmp(option + 4, "strictStrings", 13) == 0)
|
else if (config->CompilerVersion >= NET2013 && strncmp(option + 4, "strictStrings", 13) == 0)
|
||||||
AdditionalOptions += option;
|
AdditionalOptions += option;
|
||||||
|
else if (config->CompilerVersion >= NET2015 && strncmp(option + 4, "throwingNew", 11) == 0)
|
||||||
|
AdditionalOptions += option;
|
||||||
else
|
else
|
||||||
found = false;
|
found = false;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user