This patch adds a new target called `Win10Analyze` to the driver solution.
It enables us to trigger static analysis over the Win10 target.
Signed-off-by: Alin Gabriel Serdean
---
datapath-windows/Package/package.VcxProj | 21 ++-
datapath-windows/Package/package.VcxProj.user | 5 +++-
datapath-windows/ovsext.sln | 5
datapath-windows/ovsext/ovsext.vcxproj| 37 ++-
datapath-windows/ovsext/ovsext.vcxproj.user | 5 +++-
5 files changed, 69 insertions(+), 4 deletions(-)
diff --git a/datapath-windows/Package/package.VcxProj
b/datapath-windows/Package/package.VcxProj
index de747eed2..5939a8816 100644
--- a/datapath-windows/Package/package.VcxProj
+++ b/datapath-windows/Package/package.VcxProj
@@ -9,6 +9,10 @@
Win10 Release
x64
+
+ Win10Analyze
+ x64
+
Win8.1 Debug
x64
@@ -71,6 +75,13 @@
WindowsKernelModeDriver$(PlatformToolsetVer)
Desktop
+
+
+true
+10.0
+
WindowsKernelModeDriver$(PlatformToolsetVer)
+Desktop
+
Windows8
true
@@ -113,6 +124,9 @@
true
+
+true
+
DbgengKernelDebugger
False
@@ -148,6 +162,11 @@
true
+
+
+ true
+
+
true
@@ -185,4 +204,4 @@
-
+
\ No newline at end of file
diff --git a/datapath-windows/Package/package.VcxProj.user
b/datapath-windows/Package/package.VcxProj.user
index 6231d93f7..5b0c53539 100644
--- a/datapath-windows/Package/package.VcxProj.user
+++ b/datapath-windows/Package/package.VcxProj.user
@@ -15,6 +15,9 @@
TestSign
+
+TestSign
+
TestSign
@@ -24,4 +27,4 @@
TestSign
-
+
\ No newline at end of file
diff --git a/datapath-windows/ovsext.sln b/datapath-windows/ovsext.sln
index 1000104f1..ab006e84f 100644
--- a/datapath-windows/ovsext.sln
+++ b/datapath-windows/ovsext.sln
@@ -12,6 +12,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ovsext",
"ovsext\ovsext.vcx
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Win10Analyze|x64 = Win10Analyze|x64
Win10Debug|x64 = Win10Debug|x64
Win10Release|x64 = Win10Release|x64
Win8.1Analyze|x64 = Win8.1Analyze|x64
@@ -22,6 +23,8 @@ Global
Win8Release|x64 = Win8Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
+
{911D7389-3E61-449F-B8F3-14AD7EE9A0F2}.Win10Analyze|x64.ActiveCfg =
Win10Analyze|x64
+ {911D7389-3E61-449F-B8F3-14AD7EE9A0F2}.Win10Analyze|x64.Build.0
= Win10Analyze|x64
{911D7389-3E61-449F-B8F3-14AD7EE9A0F2}.Win10Debug|x64.ActiveCfg
= Win10 Debug|x64
{911D7389-3E61-449F-B8F3-14AD7EE9A0F2}.Win10Debug|x64.Build.0 =
Win10 Debug|x64
{911D7389-3E61-449F-B8F3-14AD7EE9A0F2}.Win10Debug|x64.Deploy.0
= Win10 Debug|x64
@@ -42,6 +45,8 @@ Global
{911D7389-3E61-449F-B8F3-14AD7EE9A0F2}.Win8Debug|x64.Build.0 =
Win8 Debug|x64
{911D7389-3E61-449F-B8F3-14AD7EE9A0F2}.Win8Release|x64.ActiveCfg = Win8
Release|x64
{911D7389-3E61-449F-B8F3-14AD7EE9A0F2}.Win8Release|x64.Build.0
= Win8 Release|x64
+
{63FE215D-98BE-4440-8081-C6160EFB80FA}.Win10Analyze|x64.ActiveCfg =
Win10Analyze|x64
+ {63FE215D-98BE-4440-8081-C6160EFB80FA}.Win10Analyze|x64.Build.0
= Win10Analyze|x64
{63FE215D-98BE-4440-8081-C6160EFB80FA}.Win10Debug|x64.ActiveCfg
= Win10 Debug|x64
{63FE215D-98BE-4440-8081-C6160EFB80FA}.Win10Debug|x64.Build.0 =
Win10 Debug|x64
{63FE215D-98BE-4440-8081-C6160EFB80FA}.Win10Debug|x64.Deploy.0
= Win10 Debug|x64
diff --git a/datapath-windows/ovsext/ovsext.vcxproj
b/datapath-windows/ovsext/ovsext.vcxproj
index 0509b765b..faec342dd 100644
--- a/datapath-windows/ovsext/ovsext.vcxproj
+++ b/datapath-windows/ovsext/ovsext.vcxproj
@@ -9,6 +9,10 @@
Win10 Release
x64
+
+ Win10Analyze
+ x64
+
Win8.1 Debug
x64
@@ -71,6 +75,13 @@
WindowsKernelModeDriver$(PlatformToolsetVer)
Desktop
+
+
+True
+10.0
+
WindowsKernelModeDriver$(PlatformToolsetVer)
+Desktop
+
Windows8
True
@@ -131,6 +142,9 @@
+
+
+
@@ -182,6 +196,11 @@
true
+
+true
+..\..\..\..\..\Program Files (x86)\Windows
Kits\10\CodeAnalysis\DriverMinimumRules.ruleset
+true
+
true
@@ -276,6 +295,17 @@
%(PreprocessorDefinitions);NDIS_WDM=1;NDIS640=1
+
+
+
%(PreprocessorDefinitions);NDIS_WDM=1;NDIS640=1
+
+
+
%(PreprocessorDefinitions);NDIS_WDM=1;NDIS640=1
+
+
+
%(PreprocessorDefinitions);NDIS_WDM=1;NDIS640=1
+
+