From fa97c540035df80723a60e870f90bbeeab02bb3b Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Wed, 2 Dec 2020 20:19:27 -0600 Subject: Ignore C26812 warning for C style enums. --- src/Cpp.Build.props | 8 ++++++++ src/CustomizedNativeRecommendedRules.ruleset | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/CustomizedNativeRecommendedRules.ruleset diff --git a/src/Cpp.Build.props b/src/Cpp.Build.props index 44a042c7..4d2da36f 100644 --- a/src/Cpp.Build.props +++ b/src/Cpp.Build.props @@ -6,12 +6,20 @@ Win32 $(BaseIntermediateOutputPath)$(Configuration)\$(Platform)\ $(OutputPath)$(Platform)\ + + + $(Company) + $(Copyright) $([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0')) + + $(MSBuildThisFileDirectory)CustomizedNativeRecommendedRules.ruleset + + $(DisableSpecificCompilerWarnings) diff --git a/src/CustomizedNativeRecommendedRules.ruleset b/src/CustomizedNativeRecommendedRules.ruleset new file mode 100644 index 00000000..142b141c --- /dev/null +++ b/src/CustomizedNativeRecommendedRules.ruleset @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file -- cgit v1.2.3-55-g6feb