kvm-guest-drivers-windows

Форк
0
/
Driver.Vendor.props 
60 строк · 2.4 Кб
1
<!--
2
***********************************************************************************************
3
Driver.Vendor.props
4

5
1. Uses RHEL as default vendor.
6
Set $(Feature_AlwaysDefaultVendor) to false and set $(_VENDOR_) to override.
7

8
2. Vendors' macros for .rc and property definitions for MSBuild used by all drivers:
9
    VENDOR_VER <= $(_VENDOR_).ver
10
    VER_OS     <= $(TargetOS)
11
    VER_ARCH   <= $(TargetArch)
12

13
3. Imports inf substitutions and versioning specific to vendor from Driver.$(_VENDOR_).props
14
***********************************************************************************************
15
-->
16

17
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
18
  <PropertyGroup>
19
    <_VENDOR_ Condition="'$(_VENDOR_)'=='' OR '$(Feature_AlwaysDefaultVendor)'!='false'">RHEL</_VENDOR_>
20
    <COPYRIGHT_CURRENT_YEAR>2021</COPYRIGHT_CURRENT_YEAR>
21
  </PropertyGroup>
22

23
  <PropertyGroup Condition="'$(TargetArch)'=='x86'">
24
    <VerArch>x86</VerArch>
25
  </PropertyGroup>
26
  <PropertyGroup Condition="'$(TargetArch)'=='amd64'">
27
    <VerArch>x64</VerArch>
28
  </PropertyGroup>
29
  <PropertyGroup Condition="'$(TargetArch)'=='ARM64'">
30
    <VerArch>ARM64</VerArch>
31
  </PropertyGroup>
32

33
  <Import Project="Driver.$(_VENDOR_).props" />
34

35
  <!-- Default subsystem vendor ID -->
36
  <PropertyGroup>
37
    <SUBSYSTEM_VENDOR_ID Condition="'$(SUBSYSTEM_VENDOR_ID)'==''">1AF4</SUBSYSTEM_VENDOR_ID>
38
  </PropertyGroup>
39
  <ItemGroup>
40
    <Substitution Include="_INX_SUBSYS_VENDOR_ID">
41
      <ReplaceWith>$(SUBSYSTEM_VENDOR_ID)</ReplaceWith>
42
    </Substitution>
43
  </ItemGroup>
44

45
  <!-- Version specs for C preprocessor, resource compiler, and stampinf -->
46
  <ItemDefinitionGroup>
47
    <ClCompile>
48
      <PreprocessorDefinitions>VENDOR_VER=$(_VENDOR_).ver;VER_OS=$(TargetOS);VER_ARCH=$(VerArch);%(PreprocessorDefinitions)</PreprocessorDefinitions>
49
      <PreprocessorDefinitions>COPYRIGHT_CURRENT_YEAR=$(COPYRIGHT_CURRENT_YEAR);%(PreprocessorDefinitions)</PreprocessorDefinitions>
50
    </ClCompile>
51
    <ResourceCompile>
52
      <PreprocessorDefinitions>VENDOR_VER=$(_VENDOR_).ver;VER_OS=$(TargetOS);VER_ARCH=$(VerArch);%(PreprocessorDefinitions)</PreprocessorDefinitions>
53
      <PreprocessorDefinitions>COPYRIGHT_CURRENT_YEAR=$(COPYRIGHT_CURRENT_YEAR);%(PreprocessorDefinitions)</PreprocessorDefinitions>
54
    </ResourceCompile>
55
    <Inf>
56
      <TimeStamp>$(STAMPINF_VERSION)</TimeStamp>
57
    </Inf>
58
  </ItemDefinitionGroup>
59

60
</Project>
61

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

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

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

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