summaryrefslogtreecommitdiff
path: root/projects/strgen_vs142.vcxproj
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2019-07-03 22:34:54 +0200
committerCharles Pigott <charlespigott@googlemail.com>2019-07-06 20:02:12 +0100
commit9f81778836f8d7722d381d806a4c61efabf0425d (patch)
tree87b31f97e7591407e7505a4a431fa8fdb2226a8d /projects/strgen_vs142.vcxproj
parent603f625fdae237bc8a948329818743b015fc60b2 (diff)
downloadopenttd-9f81778836f8d7722d381d806a4c61efabf0425d.tar.xz
Change: Limit in-editor warnings in VS 2019
The AllRules ruleset causes the VS 2019 editor to litter warning squiggles all over the place, about things that would never be fixed. Limit it to the smallest ruleset available. Warnings shown now mainly concern potential arithmetic overflows.
Diffstat (limited to 'projects/strgen_vs142.vcxproj')
-rw-r--r--projects/strgen_vs142.vcxproj6
1 files changed, 3 insertions, 3 deletions
diff --git a/projects/strgen_vs142.vcxproj b/projects/strgen_vs142.vcxproj
index eb0657a30..554109b04 100644
--- a/projects/strgen_vs142.vcxproj
+++ b/projects/strgen_vs142.vcxproj
@@ -29,9 +29,9 @@
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\strgen\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\strgen\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
- <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
- <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
+ <CodeAnalysisRuleSet>NativeMinimumRules.ruleset</CodeAnalysisRuleSet>
+ <CodeAnalysisRules />
+ <CodeAnalysisRuleAssemblies />
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Midl>