diff options
author | Alin Gabriel Serdean <aserdean@ovn.org> | 2019-04-03 20:48:03 +0300 |
---|---|---|
committer | Alin Gabriel Serdean <aserdean@ovn.org> | 2019-05-09 15:11:08 +0300 |
commit | 1881a1a459d86a814b46d8eeb29aa51062ab658d (patch) | |
tree | 3073f7d0b82d4d711465ff283c4240408b883d93 /datapath-windows/Package | |
parent | e045ef158632ddec4288881f9ab75d3d9d83e707 (diff) | |
download | openvswitch-1881a1a459d86a814b46d8eeb29aa51062ab658d.tar.gz |
datapath-windows: Add Win10Analyze target
This patch adds a new target called `Win10Analyze` to the driver solution.
It enables us to trigger static analysis over the Win10 target.
Since the location of the ruleset of drivers is somewhat random
starting from 1803:
https://www.osr.com/blog/2018/05/21/wdk-1803-ca/
Commit the ruleset inside our repository. This is the same ruleset used for
8,8.1 and 10.
Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
Acked-by: Anand Kumar <kumaranand@vmware.com>
Diffstat (limited to 'datapath-windows/Package')
-rw-r--r-- | datapath-windows/Package/package.VcxProj | 21 | ||||
-rw-r--r-- | datapath-windows/Package/package.VcxProj.user | 5 |
2 files changed, 24 insertions, 2 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 @@ <Configuration>Win10 Release</Configuration> <Platform>x64</Platform> </ProjectConfiguration> + <ProjectConfiguration Include="Win10Analyze|x64"> + <Configuration>Win10Analyze</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> <ProjectConfiguration Include="Win8.1 Debug|x64"> <Configuration>Win8.1 Debug</Configuration> <Platform>x64</Platform> @@ -71,6 +75,13 @@ <PlatformToolset>WindowsKernelModeDriver$(PlatformToolsetVer)</PlatformToolset> <DriverTargetPlatform>Desktop</DriverTargetPlatform> </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Analyze|x64'" Label="Configuration"> + <TargetVersion /> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolsetVer Condition="'$(PlatformToolsetVer)' == ''">10.0</PlatformToolsetVer> + <PlatformToolset>WindowsKernelModeDriver$(PlatformToolsetVer)</PlatformToolset> + <DriverTargetPlatform>Desktop</DriverTargetPlatform> + </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8 Debug|x64'" Label="Configuration"> <TargetVersion>Windows8</TargetVersion> <UseDebugLibraries>true</UseDebugLibraries> @@ -113,6 +124,9 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Debug|x64'"> <Inf2CatUseLocalTime>true</Inf2CatUseLocalTime> </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Analyze|x64'"> + <Inf2CatUseLocalTime>true</Inf2CatUseLocalTime> + </PropertyGroup> <PropertyGroup> <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> <EnableDeployment>False</EnableDeployment> @@ -148,6 +162,11 @@ <UseLocalTime>true</UseLocalTime> </Inf2Cat> </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Analyze|x64'"> + <Inf2Cat> + <UseLocalTime>true</UseLocalTime> + </Inf2Cat> + </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug|x64'"> <Inf2Cat> <UseLocalTime>true</UseLocalTime> @@ -185,4 +204,4 @@ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> -</Project> +</Project>
\ 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 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Debug|x64'"> <SignMode>TestSign</SignMode> </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Analyze|x64'"> + <SignMode>TestSign</SignMode> + </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8 Release|x64'"> <SignMode>TestSign</SignMode> </PropertyGroup> @@ -24,4 +27,4 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'"> <SignMode>TestSign</SignMode> </PropertyGroup> -</Project> +</Project>
\ No newline at end of file |