[MSVC] Disable exceptions and spectre mitigation in common_default.props

Disabling exceptions in common_default.props ensures that all projects do not use them since not all projects import rpcs3_default.props.

Spectre mitigation is disabled by default unless WDK is installed so this is more of a just in case measure since rpcs3 does not need it.
This commit is contained in:
Maxim Kulyk 2020-03-25 16:37:15 +02:00 committed by Ivan
parent 3b9f419859
commit 70f1302fa7

View File

@ -6,9 +6,15 @@
<PropertyGroup Label="Globals">
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<!-- Spectre mitigation is disabled by default unless WDK is installed -->
<SpectreMitigation>false</SpectreMitigation>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<LanguageStandard>stdcpplatest</LanguageStandard>
<PreprocessorDefinitions>_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING=1;_HAS_EXCEPTIONS=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>-d2FH4- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>