driver: cleanup project file

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2021-07-12 10:30:44 +02:00
parent d41ac04565
commit dccf2085cb

View File

@ -1,155 +1,132 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations"> <ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|ARM"> <ProjectConfiguration Include="Debug|ARM">
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>ARM</Platform> <Platform>ARM</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM64"> <ProjectConfiguration Include="Debug|ARM64">
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>ARM64</Platform> <Platform>ARM64</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32"> <ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>Win32</Platform> <Platform>Win32</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64"> <ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>x64</Platform> <Platform>x64</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM"> <ProjectConfiguration Include="Release|ARM">
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<Platform>ARM</Platform> <Platform>ARM</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM64"> <ProjectConfiguration Include="Release|ARM64">
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<Platform>ARM64</Platform> <Platform>ARM64</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32"> <ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<Platform>Win32</Platform> <Platform>Win32</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Release|x64"> <ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<Platform>x64</Platform> <Platform>x64</Platform>
</ProjectConfiguration> </ProjectConfiguration>
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>{F7679B65-2FEC-469A-8BAC-B07BF4439422}</ProjectGuid> <ProjectGuid>{F7679B65-2FEC-469A-8BAC-B07BF4439422}</ProjectGuid>
<RootNamespace>wintun</RootNamespace> <RootNamespace>wintun</RootNamespace>
<WindowsTargetPlatformVersion>$(LatestTargetPlatformVersion)</WindowsTargetPlatformVersion> <WindowsTargetPlatformVersion>$(LatestTargetPlatformVersion)</WindowsTargetPlatformVersion>
<ProjectName>wintun</ProjectName> <ProjectName>wintun</ProjectName>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label="Configuration"> <PropertyGroup Label="Configuration">
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset> <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType> <ConfigurationType>Driver</ConfigurationType>
<DriverType>WDM</DriverType> <DriverType>WDM</DriverType>
<SpectreMitigation>false</SpectreMitigation> <SpectreMitigation>false</SpectreMitigation>
<Inf2CatUseLocalTime>true</Inf2CatUseLocalTime> <Driver_SpectreMitigation>false</Driver_SpectreMitigation>
</PropertyGroup> <Inf2CatUseLocalTime>true</Inf2CatUseLocalTime>
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> </PropertyGroup>
<UseDebugLibraries>false</UseDebugLibraries> <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
</PropertyGroup> <UseDebugLibraries>false</UseDebugLibraries>
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> </PropertyGroup>
<UseDebugLibraries>true</UseDebugLibraries> <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
</PropertyGroup> <UseDebugLibraries>true</UseDebugLibraries>
<PropertyGroup Condition="'$(Platform)'=='Win32'" Label="Configuration"> </PropertyGroup>
<TargetVersion>Windows7</TargetVersion> <PropertyGroup Condition="'$(Platform)'=='Win32'" Label="Configuration">
</PropertyGroup> <TargetVersion>Windows7</TargetVersion>
<PropertyGroup Condition="'$(Platform)'=='ARM'" Label="Configuration"> </PropertyGroup>
<TargetVersion>Windows8</TargetVersion> <PropertyGroup Condition="'$(Platform)'=='ARM'" Label="Configuration">
</PropertyGroup> <TargetVersion>Windows8</TargetVersion>
<PropertyGroup Condition="'$(Platform)'=='x64'" Label="Configuration"> </PropertyGroup>
<TargetVersion>Windows7</TargetVersion> <PropertyGroup Condition="'$(Platform)'=='x64'" Label="Configuration">
</PropertyGroup> <TargetVersion>Windows7</TargetVersion>
<PropertyGroup Condition="'$(Platform)'=='ARM64'" Label="Configuration"> </PropertyGroup>
<TargetVersion>Windows10</TargetVersion> <PropertyGroup Condition="'$(Platform)'=='ARM64'" Label="Configuration">
</PropertyGroup> <TargetVersion>Windows10</TargetVersion>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'"> </PropertyGroup>
<Driver_SpectreMitigation>false</Driver_SpectreMitigation> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
</PropertyGroup> <ImportGroup Label="ExtensionSettings">
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|ARM'"> </ImportGroup>
<Driver_SpectreMitigation>false</Driver_SpectreMitigation> <ImportGroup Label="PropertySheets">
</PropertyGroup> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'"> </ImportGroup>
<Driver_SpectreMitigation>false</Driver_SpectreMitigation> <Import Project="..\wintun.props" />
</PropertyGroup> <PropertyGroup Label="UserMacros" />
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'"> <PropertyGroup>
<Driver_SpectreMitigation>false</Driver_SpectreMitigation> <_ProjectFileVersion>15.0.28127.55</_ProjectFileVersion>
</PropertyGroup> <IntDir>..\$(Configuration)\$(WintunPlatform)\$(ProjectName)-intermediate\</IntDir>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <OutDir>..\$(ConfigurationName)\$(WintunPlatform)\</OutDir>
<Driver_SpectreMitigation>false</Driver_SpectreMitigation> <RunCodeAnalysis>true</RunCodeAnalysis>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <PropertyGroup Condition="'$(Configuration)'=='Release'">
<Driver_SpectreMitigation>false</Driver_SpectreMitigation> <CodeAnalysisRuleSet>$(WDKContentRoot)CodeAnalysis\DriverMustFixRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <PropertyGroup Condition="'$(Configuration)'=='Debug'">
<Driver_SpectreMitigation>false</Driver_SpectreMitigation> <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ItemDefinitionGroup>
<Driver_SpectreMitigation>false</Driver_SpectreMitigation> <ClCompile>
</PropertyGroup> <PreprocessorDefinitions>NDIS_MINIPORT_DRIVER=1;NDIS620_MINIPORT=1;NDIS683_MINIPORT=1;NDIS_WDM=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <AdditionalOptions>/volatile:iso %(AdditionalOptions)</AdditionalOptions>
<ImportGroup Label="ExtensionSettings"> <EnablePREfast>true</EnablePREfast>
</ImportGroup> </ClCompile>
<ImportGroup Label="PropertySheets"> <ResourceCompile>
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <PreprocessorDefinitions>NDIS_MINIPORT_DRIVER=1;NDIS620_MINIPORT=1;NDIS683_MINIPORT=1;NDIS_WDM=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ImportGroup> </ResourceCompile>
<Import Project="..\wintun.props" /> <Link>
<PropertyGroup Label="UserMacros" /> <AdditionalDependencies>ndis.lib;wdmsec.lib;%(AdditionalDependencies)</AdditionalDependencies>
<PropertyGroup> </Link>
<_ProjectFileVersion>15.0.28127.55</_ProjectFileVersion> <DriverSign>
<IntDir>..\$(Configuration)\$(WintunPlatform)\$(ProjectName)-intermediate\</IntDir> <FileDigestAlgorithm>sha256</FileDigestAlgorithm>
<OutDir>..\$(ConfigurationName)\$(WintunPlatform)\</OutDir> </DriverSign>
<RunCodeAnalysis>true</RunCodeAnalysis> </ItemDefinitionGroup>
</PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
<PropertyGroup Condition="'$(Configuration)'=='Release'"> <Inf>
<CodeAnalysisRuleSet>$(WDKContentRoot)CodeAnalysis\DriverMustFixRules.ruleset</CodeAnalysisRuleSet> <TimeStamp>$(WintunVersion)</TimeStamp>
</PropertyGroup> </Inf>
<PropertyGroup Condition="'$(Configuration)'=='Debug'"> </ItemDefinitionGroup>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
</PropertyGroup> <Inf>
<ItemDefinitionGroup> <TimeStamp>*</TimeStamp>
<ClCompile> </Inf>
<PreprocessorDefinitions>NDIS_MINIPORT_DRIVER=1;NDIS620_MINIPORT=1;NDIS683_MINIPORT=1;NDIS_WDM=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> </ItemDefinitionGroup>
<AdditionalOptions>/volatile:iso %(AdditionalOptions)</AdditionalOptions> <ItemGroup>
<EnablePREfast>true</EnablePREfast> <ClCompile Include="wintun.c" />
</ClCompile> </ItemGroup>
<ResourceCompile> <ItemGroup>
<PreprocessorDefinitions>NDIS_MINIPORT_DRIVER=1;NDIS620_MINIPORT=1;NDIS683_MINIPORT=1;NDIS_WDM=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ResourceCompile Include="wintun.rc" />
</ResourceCompile> </ItemGroup>
<Link> <ItemGroup>
<AdditionalDependencies>ndis.lib;wdmsec.lib;%(AdditionalDependencies)</AdditionalDependencies> <Inf Include="wintun.inf" />
</Link> <FilesToPackage Include="$(TargetPath)" Condition="'$(ConfigurationType)'=='Driver' or '$(ConfigurationType)'=='DynamicLibrary'" />
<DriverSign> </ItemGroup>
<FileDigestAlgorithm>sha256</FileDigestAlgorithm> <ItemGroup>
</DriverSign> <ClInclude Include="undocumented.h" />
</ItemDefinitionGroup> </ItemGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Inf> <ImportGroup Label="ExtensionTargets" />
<TimeStamp>$(WintunVersion)</TimeStamp> <Import Project="..\wintun.vcxproj.user" Condition="exists('..\wintun.vcxproj.user')" />
</Inf> </Project>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<Inf>
<TimeStamp>*</TimeStamp>
</Inf>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="wintun.c" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="wintun.rc" />
</ItemGroup>
<ItemGroup>
<Inf Include="wintun.inf" />
<FilesToPackage Include="$(TargetPath)" Condition="'$(ConfigurationType)'=='Driver' or '$(ConfigurationType)'=='DynamicLibrary'" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="undocumented.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
<Import Project="..\wintun.vcxproj.user" Condition="exists('..\wintun.vcxproj.user')" />
</Project>