kvm-guest-drivers-windows

Форк
0
103 строки · 4.9 Кб
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
  <ItemGroup Label="ProjectConfigurations">
4
    <ProjectConfiguration Include="Win10 Release|Win32">
5
      <Configuration>Win10 Release</Configuration>
6
      <Platform>Win32</Platform>
7
    </ProjectConfiguration>
8
    <ProjectConfiguration Include="Win10 Release|x64">
9
      <Configuration>Win10 Release</Configuration>
10
      <Platform>x64</Platform>
11
    </ProjectConfiguration>
12
    <ProjectConfiguration Include="Win10 Release|ARM64">
13
      <Configuration>Win10 Release</Configuration>
14
      <Platform>ARM64</Platform>
15
    </ProjectConfiguration>
16
    <ProjectConfiguration Include="Win11 Release|ARM64">
17
      <Configuration>Win11 Release</Configuration>
18
      <Platform>ARM64</Platform>
19
    </ProjectConfiguration>
20
    <ProjectConfiguration Include="Win11 Release|Win32">
21
      <Configuration>Win11 Release</Configuration>
22
      <Platform>Win32</Platform>
23
    </ProjectConfiguration>
24
    <ProjectConfiguration Include="Win11 Release|x64">
25
      <Configuration>Win11 Release</Configuration>
26
      <Platform>x64</Platform>
27
    </ProjectConfiguration>
28
  </ItemGroup>
29
  <PropertyGroup Label="Globals">
30
    <ProjectGuid>{EC5DCAF5-3514-4E61-8201-10F5F060E096}</ProjectGuid>
31
    <RootNamespace>$(MSBuildProjectName)</RootNamespace>
32
    <Configuration>Win10 Release</Configuration>
33
    <Platform Condition="'$(Platform)' == ''">Win32</Platform>
34
    <SignMode>Off</SignMode>
35
  </PropertyGroup>
36
  <PropertyGroup Label="Configuration">
37
    <UseDebugLibraries>False</UseDebugLibraries>
38
    <DriverType>WDM</DriverType>
39
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
40
    <ConfigurationType>Driver</ConfigurationType>
41
  </PropertyGroup>
42
  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win10 Release|Win32'">
43
    <TargetVersion>Windows10</TargetVersion>
44
  </PropertyGroup>
45
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|Win32'" Label="Configuration">
46
    <TargetVersion>Windows10</TargetVersion>
47
  </PropertyGroup>
48
  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">
49
    <TargetVersion>Windows10</TargetVersion>
50
  </PropertyGroup>
51
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64'" Label="Configuration">
52
    <TargetVersion>Windows10</TargetVersion>
53
  </PropertyGroup>
54
  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win10 Release|ARM64'">
55
    <TargetVersion>Windows10</TargetVersion>
56
  </PropertyGroup>
57
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|ARM64'" Label="Configuration">
58
    <TargetVersion>Windows10</TargetVersion>
59
  </PropertyGroup>
60
  <Import Project="$(MSBuildProjectDirectory)\hidpassthrough.props" />
61
  <Import Project="$(MSBuildProjectDirectory)\..\..\Tools\Driver.Common.props" />
62
  <ImportGroup Label="PropertySheets">
63
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
64
  </ImportGroup>
65
  <ItemGroup Label="WrappedTaskItems">
66
    <ClInclude Include="pdo.h" />
67
  </ItemGroup>
68
  <PropertyGroup>
69
    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
70
    <TargetName>viohidkmdf</TargetName>
71
    <TargetExt>.sys</TargetExt>
72
    <OutDir>$(Platform)\$(Configuration.Replace(' ',''))\</OutDir>
73
    <IntDir>$(Platform)\$(Configuration.Replace(' ',''))\</IntDir>
74
    <EnableInf2cat>false</EnableInf2cat>
75
  </PropertyGroup>
76
  <PropertyGroup>
77
    <CustomBuildAfterTargets>dvl</CustomBuildAfterTargets>
78
  </PropertyGroup>
79
  <ItemDefinitionGroup>
80
    <ClCompile>
81
      <PreprocessorDefinitions>%(PreprocessorDefinitions);POOL_NX_OPTIN=1</PreprocessorDefinitions>
82
    </ClCompile>
83
    <Link>
84
      <OptimizeReferences>true</OptimizeReferences>
85
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
86
      <AdditionalDependencies>%(AdditionalDependencies);$(DDK_LIB_PATH)\hidclass.lib</AdditionalDependencies>
87
    </Link>
88
    <CustomBuildStep>
89
      <Command>copy /Y $(ProjectDir)viohidkmdf.DVL.XML $(ProjectDir)$(PackOne_DestinationPrefix)Install\$(TargetOS)\$(TargetArch)</Command>
90
      <Inputs>$(ProjectDir)viohidkmdf.DVL.XML</Inputs>
91
      <Outputs>$(ProjectDir)$(PackOne_DestinationPrefix)Install\$(TargetOS)\$(TargetArch)\viohidkmdf.DVL.XML</Outputs>
92
    </CustomBuildStep>
93
  </ItemDefinitionGroup>
94
  <ItemGroup>
95
    <ClCompile Include="hidpassthrough.c" />
96
    <ResourceCompile Include="hidpassthrough.rc" />
97
  </ItemGroup>
98
  <ItemGroup>
99
    <FilesToPackage Include="$(TargetPath)" Condition="'$(ConfigurationType)'=='Driver' or '$(ConfigurationType)'=='DynamicLibrary'" />
100
  </ItemGroup>
101
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
102
  <Import Project="$(MSBuildProjectDirectory)\..\..\Tools\Driver.Common.targets" />
103
</Project>

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.