kvm-guest-drivers-windows

Форк
0
157 строк · 8.6 Кб
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project DefaultTargets="Build" ToolsVersion="4.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>{230231c1-a0c2-4a37-b32b-e247a92311f4}</ProjectGuid>
31
    <TemplateGuid>{1bc93793-694f-48fe-9372-81e2b05556fd}</TemplateGuid>
32
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
33
    <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
34
    <Configuration>Win10 Release</Configuration>
35
    <Platform Condition="'$(Platform)' == ''">Win32</Platform>
36
    <SignMode>Off</SignMode>
37
  </PropertyGroup>
38
  <PropertyGroup Label="Globals">
39
    <RootNamespace>vioinput</RootNamespace>
40
    <VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VisualStudioVersion)' == '11.0'">$(VCTargetsPath11)</VCTargetsPath>
41
  </PropertyGroup>
42
  <PropertyGroup Label="Configuration">
43
    <UseDebugLibraries>false</UseDebugLibraries>
44
    <ALLOW_DATE_TIME>1</ALLOW_DATE_TIME>
45
  </PropertyGroup>
46
  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win10 Release|Win32'">
47
    <TargetVersion>Windows10</TargetVersion>
48
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
49
    <KMDF_VERSION_MINOR>15</KMDF_VERSION_MINOR>
50
  </PropertyGroup>
51
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|Win32'" Label="Configuration">
52
    <TargetVersion>Windows10</TargetVersion>
53
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
54
    <KMDF_VERSION_MINOR>15</KMDF_VERSION_MINOR>
55
  </PropertyGroup>
56
  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">
57
    <TargetVersion>Windows10</TargetVersion>
58
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
59
    <KMDF_VERSION_MINOR>15</KMDF_VERSION_MINOR>
60
  </PropertyGroup>
61
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64'" Label="Configuration">
62
    <TargetVersion>Windows10</TargetVersion>
63
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
64
    <KMDF_VERSION_MINOR>15</KMDF_VERSION_MINOR>
65
  </PropertyGroup>
66
  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win10 Release|ARM64'">
67
    <TargetVersion>Windows10</TargetVersion>
68
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
69
    <KMDF_VERSION_MINOR>15</KMDF_VERSION_MINOR>
70
  </PropertyGroup>
71
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|ARM64'" Label="Configuration">
72
    <TargetVersion>Windows10</TargetVersion>
73
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
74
    <KMDF_VERSION_MINOR>15</KMDF_VERSION_MINOR>
75
  </PropertyGroup>
76
  <PropertyGroup Label="PropertySheets">
77
    <ConfigurationType>Driver</ConfigurationType>
78
    <DriverType>KMDF</DriverType>
79
  </PropertyGroup>
80
  <Import Project="$(MSBuildProjectDirectory)\..\vioinput.props" />
81
  <Import Project="$(MSBuildProjectDirectory)\..\..\Tools\Driver.Common.props" />
82
  <ImportGroup Label="ExtensionSettings">
83
  </ImportGroup>
84
  <ImportGroup Label="PropertySheets">
85
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
86
  </ImportGroup>
87
  <PropertyGroup Label="UserMacros" />
88
  <PropertyGroup>
89
    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
90
    <TargetName>vioinput</TargetName>
91
    <TargetExt>.sys</TargetExt>
92
    <OutDir>$(Platform)\$(Configuration.Replace(' ',''))\</OutDir>
93
    <IntDir>$(Platform)\$(Configuration.Replace(' ',''))\</IntDir>
94
  </PropertyGroup>
95
  <PropertyGroup>
96
    <CustomBuildAfterTargets>dvl</CustomBuildAfterTargets>
97
  </PropertyGroup>
98
  <ItemDefinitionGroup>
99
    <ClCompile>
100
      <WppEnabled>true</WppEnabled>
101
      <WppScanConfigurationData Condition="'%(ClCompile. ScanConfigurationData)'  == ''">trace.h</WppScanConfigurationData>
102
      <WppKernelMode>true</WppKernelMode>
103
      <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories);..\..\VirtIO;..\..\VirtIO\WDF</AdditionalIncludeDirectories>
104
      <WarningLevel>Level3</WarningLevel>
105
      <PreprocessorDefinitions>%(PreprocessorDefinitions);POOL_NX_OPTIN=1</PreprocessorDefinitions>
106
      <DisableSpecificWarnings>4603;4627;4986;4987;4996;6387;%(DisableSpecificWarnings)</DisableSpecificWarnings>
107
    </ClCompile>
108
    <CustomBuildStep>
109
      <Command>copy /Y $(ProjectDir)vioinput.DVL.XML $(ProjectDir)$(PackOne_DestinationPrefix)Install\$(TargetOS)\$(TargetArch)</Command>
110
      <Inputs>$(ProjectDir)vioinput.DVL.XML</Inputs>
111
      <Outputs>$(ProjectDir)$(PackOne_DestinationPrefix)Install\$(TargetOS)\$(TargetArch)\vioinput.DVL.XML</Outputs>
112
    </CustomBuildStep>
113
    <Link>
114
      <OptimizeReferences>true</OptimizeReferences>
115
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
116
      <AdditionalLibraryDirectories Condition="'$(Configuration)|$(Platform)'=='Win10 Release|Win32'">..\..\VirtIO\objfre_win10_x86\i386;..\..\VirtIO\WDF\objfre_win10_x86\i386;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
117
      <AdditionalLibraryDirectories Condition="'$(Configuration)|$(Platform)'=='Win11 Release|Win32'">..\..\VirtIO\objfre_win11_x86\i386;..\..\VirtIO\WDF\objfre_win11_x86\i386;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
118
      <AdditionalLibraryDirectories Condition="'$(Configuration)|$(Platform)'=='Win10 Release|ARM64'">..\..\VirtIO\objfre_win10_arm64\arm64;..\..\VirtIO\WDF\objfre_win10_arm64\arm64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
119
      <AdditionalLibraryDirectories Condition="'$(Configuration)|$(Platform)'=='Win11 Release|ARM64'">..\..\VirtIO\objfre_win11_arm64\arm64;..\..\VirtIO\WDF\objfre_win11_arm64\arm64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
120
      <AdditionalLibraryDirectories Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">..\..\VirtIO\objfre_win10_amd64\amd64;..\..\VirtIO\WDF\objfre_win10_amd64\amd64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
121
      <AdditionalLibraryDirectories Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64'">..\..\VirtIO\objfre_win11_amd64\amd64;..\..\VirtIO\WDF\objfre_win11_amd64\amd64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
122
      <AdditionalDependencies>virtiolib.lib;virtiolib_wdf.lib;ntstrsafe.lib;wdmsec.lib;%(AdditionalDependencies)</AdditionalDependencies>
123
    </Link>
124
  </ItemDefinitionGroup>
125
  <ItemGroup>
126
    <FilesToPackage Include="$(TargetPath)" />
127
    <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
128
  </ItemGroup>
129
  <ItemGroup>
130
    <ClInclude Include="Hid.h" />
131
    <ClInclude Include="precomp.h" />
132
    <ClInclude Include="public.h" />
133
    <ClInclude Include="trace.h" />
134
    <ClInclude Include="vioinput.h" />
135
  </ItemGroup>
136
  <ItemGroup>
137
    <ResourceCompile Include="vioinput.rc" />
138
  </ItemGroup>
139
  <ItemGroup>
140
    <ClCompile Include="Array.c" />
141
    <ClCompile Include="Device.c" />
142
    <ClCompile Include="Driver.c" />
143
    <ClCompile Include="Hid.c" />
144
    <ClCompile Include="HidConsumer.c" />
145
    <ClCompile Include="HidJoystick.c" />
146
    <ClCompile Include="HidKeyboard.c" />
147
    <ClCompile Include="HidMouse.c" />
148
    <ClCompile Include="HidTablet.c" />
149
    <ClCompile Include="IsrDpc.c" />
150
    <ClCompile Include="KeyMap.c" />
151
    <ClCompile Include="utils.c" />
152
  </ItemGroup>
153
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
154
  <Import Project="$(MSBuildProjectDirectory)\..\..\Tools\Driver.Common.targets" />
155
  <ImportGroup Label="ExtensionTargets">
156
  </ImportGroup>
157
</Project>

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

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

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

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