summaryrefslogtreecommitdiff
path: root/datapath-windows/automake.mk
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2017-05-23 17:59:07 +0000
committerGurucharan Shetty <guru@ovn.org>2017-05-25 08:49:35 -0700
commit0a1f9718a31784100c08cfad2df4bb6006e2b0a5 (patch)
treeb47db91f9642578d836606626e80ee7f3ba6038d /datapath-windows/automake.mk
parentad91a8e61c368fb13beb3a3100d84301fbf71dd4 (diff)
downloadopenvswitch-0a1f9718a31784100c08cfad2df4bb6006e2b0a5.tar.gz
datapath-windows: add two new build targets for code analysis
Add two new build targets: 'Win8Analyze' and 'Win8.1Analyze'. The new build targets have the static code analyzer (built in Visual Studio feature). This patch also introduces a new make target ('datapath_windows_analyze') this can be added to the CI jobs to get a list warnings/errors issued by the code analyzer. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Acked-by: Anand Kumar <kumaranand@vmware.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'datapath-windows/automake.mk')
-rw-r--r--datapath-windows/automake.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/datapath-windows/automake.mk b/datapath-windows/automake.mk
index 4f7b55a72..49011f125 100644
--- a/datapath-windows/automake.mk
+++ b/datapath-windows/automake.mk
@@ -82,3 +82,7 @@ EXTRA_DIST += \
datapath-windows/ovsext/precomp.h \
datapath-windows/ovsext/precompsrc.c \
datapath-windows/ovsext/resource.h
+
+datapath_windows_analyze: all
+ MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8.1Analyze"
+ MSBuild.exe //maxcpucount datapath-windows/ovsext.sln /target:Build /property:Configuration="Win8Analyze"