From 0a1f9718a31784100c08cfad2df4bb6006e2b0a5 Mon Sep 17 00:00:00 2001 From: Alin Serdean Date: Tue, 23 May 2017 17:59:07 +0000 Subject: 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 Acked-by: Anand Kumar Signed-off-by: Gurucharan Shetty --- datapath-windows/automake.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'datapath-windows/automake.mk') 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" -- cgit v1.2.1