kvm-guest-drivers-windows

Форк
0
194 строки · 10.5 Кб
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project DefaultTargets="Build" ToolsVersion="14.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>{1530C86E-90C0-4270-B3A2-0FB90152CA48}</ProjectGuid>
31
    <TemplateGuid>{dd38f7fc-d7bd-488b-9242-7d8754cde80d}</TemplateGuid>
32
    <TargetFrameworkVersion>v4.5.2</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>vioscsi</RootNamespace>
40
    <VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VisualStudioVersion)' == '11.0'">$(VCTargetsPath11)</VCTargetsPath>
41
  </PropertyGroup>
42
  <PropertyGroup Label="PropertySheets">
43
    <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>
44
    <ConfigurationType>Driver</ConfigurationType>
45
    <DriverType>Miniport</DriverType>
46
  </PropertyGroup>
47
  <PropertyGroup Label="Configuration">
48
    <UseDebugLibraries>false</UseDebugLibraries>
49
    <ALLOW_DATE_TIME>1</ALLOW_DATE_TIME>
50
  </PropertyGroup>
51
  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win10 Release|Win32'">
52
    <TargetVersion>Windows10</TargetVersion>
53
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
54
  </PropertyGroup>
55
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|Win32'" Label="Configuration">
56
    <TargetVersion>Windows10</TargetVersion>
57
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
58
  </PropertyGroup>
59
  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">
60
    <TargetVersion>Windows10</TargetVersion>
61
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
62
  </PropertyGroup>
63
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64'" Label="Configuration">
64
    <TargetVersion>Windows10</TargetVersion>
65
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
66
  </PropertyGroup>
67
  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win10 Release|ARM64'">
68
    <TargetVersion>Windows10</TargetVersion>
69
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
70
  </PropertyGroup>
71
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|ARM64'" Label="Configuration">
72
    <TargetVersion>Windows10</TargetVersion>
73
    <PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
74
  </PropertyGroup>
75
  <Import Project="$(MSBuildProjectDirectory)\vioscsi.props" />
76
  <Import Project="$(MSBuildProjectDirectory)\..\Tools\Driver.Common.props" />
77
  <ImportGroup Label="ExtensionSettings">
78
  </ImportGroup>
79
  <ImportGroup Label="PropertySheets">
80
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
81
  </ImportGroup>
82
  <PropertyGroup Label="UserMacros" />
83
  <PropertyGroup>
84
    <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
85
    <TargetName>vioscsi</TargetName>
86
    <TargetExt>.sys</TargetExt>
87
  </PropertyGroup>
88
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Release|Win32'">
89
    <OutDir>objfre_win10_x86\i386\</OutDir>
90
    <IntDir>objfre_win10_x86\i386\</IntDir>
91
  </PropertyGroup>
92
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|Win32'">
93
    <OutDir>objfre_win11_x86\i386\</OutDir>
94
    <IntDir>objfre_win11_x86\i386\</IntDir>
95
  </PropertyGroup>
96
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">
97
    <OutDir>objfre_win10_amd64\amd64\</OutDir>
98
    <IntDir>objfre_win10_amd64\amd64\</IntDir>
99
  </PropertyGroup>
100
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64'">
101
    <OutDir>objfre_win11_amd64\amd64\</OutDir>
102
    <IntDir>objfre_win11_amd64\amd64\</IntDir>
103
  </PropertyGroup>
104
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Release|ARM64'">
105
    <OutDir>objfre_win10_arm64\arm64\</OutDir>
106
    <IntDir>objfre_win10_arm64\arm64\</IntDir>
107
  </PropertyGroup>
108
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win11 Release|ARM64'">
109
    <OutDir>objfre_win11_arm64\arm64\</OutDir>
110
    <IntDir>objfre_win11_arm64\arm64\</IntDir>
111
  </PropertyGroup>
112
  <PropertyGroup>
113
    <CustomBuildAfterTargets>dvl</CustomBuildAfterTargets>
114
  </PropertyGroup>
115
  <ItemDefinitionGroup>
116
    <ClCompile>
117
      <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories);..\VirtIO</AdditionalIncludeDirectories>
118
      <WarningLevel>Level3</WarningLevel>
119
    </ClCompile>
120
    <Link>
121
      <OptimizeReferences>true</OptimizeReferences>
122
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
123
      <AdditionalDependencies>%(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\storport.lib;$(DDK_LIB_PATH)\scsiwmi.lib;$(DDK_LIB_PATH)\wdm.lib;virtiolib.lib</AdditionalDependencies>
124
      <AdditionalLibraryDirectories>..\VirtIO\$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
125
    </Link>
126
    <ResourceCompile>
127
      <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
128
    </ResourceCompile>
129
  </ItemDefinitionGroup>
130
  <ItemDefinitionGroup>
131
    <CustomBuildStep>
132
      <Command>
133
        copy /Y $(ProjectDir)vioscsi.DVL.XML $(ProjectDir)Install\$(TargetOS)\$(TargetArch)
134
        copy /Y $(IntDir)vc.nativecodeanalysis.all.xml $(ProjectDir)
135
        call "..\Tools\dvl1903.bat" "$(ProjectDir)\$(IntDir)" "$(TargetName)" "$(Configuration)" "$(Platform)"
136
        copy /Y $(ProjectDir)vioscsi.DVL.XML $(ProjectDir)Install\$(TargetOS)\$(TargetArch)\vioscsi.DVL-win10.XML
137
      </Command>
138
      <Inputs>$(IntDir)vc.nativecodeanalysis.all.xml;$(ProjectDir)vioscsi.DVL.XML</Inputs>
139
      <Outputs>$(ProjectDir)Install\$(TargetOS)\$(TargetArch)\vioscsi.DVL.XML;$(ProjectDir)Install\$(TargetOS)\$(TargetArch)\vioscsi.DVL-win10.XML</Outputs>
140
    </CustomBuildStep>
141
    <ClCompile>
142
      <WppEnabled Condition="'$(Configuration)|$(Platform)'=='Win10 Release|Win32'">true</WppEnabled>
143
      <WppEnabled Condition="'$(Configuration)|$(Platform)'=='Win11 Release|Win32'">true</WppEnabled>
144
      <WppGenerateUsingTemplateFile Condition="'$(Configuration)|$(Platform)'=='Win10 Release|Win32'">{km-StorDefault.tpl}*.tmh</WppGenerateUsingTemplateFile>
145
      <WppGenerateUsingTemplateFile Condition="'$(Configuration)|$(Platform)'=='Win11 Release|Win32'">{km-StorDefault.tpl}*.tmh</WppGenerateUsingTemplateFile>
146
      <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win10 Release|Win32'">trace.h</WppScanConfigurationData>
147
      <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win11 Release|Win32'">trace.h</WppScanConfigurationData>
148
    </ClCompile>
149
    <ClCompile>
150
      <WppEnabled Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">true</WppEnabled>
151
      <WppEnabled Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64'">true</WppEnabled>
152
      <WppGenerateUsingTemplateFile Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">{km-StorDefault.tpl}*.tmh</WppGenerateUsingTemplateFile>
153
      <WppGenerateUsingTemplateFile Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64'">{km-StorDefault.tpl}*.tmh</WppGenerateUsingTemplateFile>
154
      <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">trace.h</WppScanConfigurationData>
155
      <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64'">trace.h</WppScanConfigurationData>
156
    </ClCompile>
157
    <ClCompile>
158
      <WppEnabled Condition="'$(Configuration)|$(Platform)'=='Win10 Release|ARM64'">true</WppEnabled>
159
      <WppEnabled Condition="'$(Configuration)|$(Platform)'=='Win11 Release|ARM64'">true</WppEnabled>
160
      <WppGenerateUsingTemplateFile Condition="'$(Configuration)|$(Platform)'=='Win10 Release|ARM64'">{km-StorDefault.tpl}*.tmh</WppGenerateUsingTemplateFile>
161
      <WppGenerateUsingTemplateFile Condition="'$(Configuration)|$(Platform)'=='Win11 Release|ARM64'">{km-StorDefault.tpl}*.tmh</WppGenerateUsingTemplateFile>
162
      <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win10 Release|ARM64'">trace.h</WppScanConfigurationData>
163
      <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win11 Release|ARM64'">trace.h</WppScanConfigurationData>
164
    </ClCompile>
165
  </ItemDefinitionGroup>
166
  <ItemGroup>
167
    <Inf Include="vioscsi.inx" />
168
  </ItemGroup>
169
  <ItemGroup>
170
    <FilesToPackage Include="$(TargetPath)" />
171
    <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
172
  </ItemGroup>
173
  <ItemGroup>
174
    <ClInclude Include="helper.h" />
175
    <ClInclude Include="trace.h" />
176
    <ClInclude Include="vioscsi.h" />
177
  </ItemGroup>
178
  <ItemGroup>
179
    <ResourceCompile Include="vioscsi.rc" />
180
  </ItemGroup>
181
  <ItemGroup>
182
    <ClCompile Include="helper.c" />
183
    <ClCompile Include="utils.c" />
184
    <ClCompile Include="vioscsi.c" />
185
    <ClCompile Include="virtio_pci.c" />
186
  </ItemGroup>
187
  <ItemGroup>
188
    <Mofcomp Include="vioscsi.mof" />
189
  </ItemGroup>
190
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
191
  <Import Project="$(MSBuildProjectDirectory)\..\Tools\Driver.Common.targets" />
192
  <ImportGroup Label="ExtensionTargets">
193
  </ImportGroup>
194
</Project>

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

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

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

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