summaryrefslogtreecommitdiffstats
path: root/intl/icu/source/allinone/Build.Windows.UWP.ProjectConfiguration.props
blob: 948b7c4f98bd8faa81cfa86bfdeafb91b901462b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html -->
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <!-- The following import will set the ICU Major Version number. -->
  <Import Project="Build.Windows.IcuVersion.props" />
  <!-- This file is used to set common configuration options for all *_uwp projects. -->
  <PropertyGroup>
    <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
    <AppContainerApplication>true</AppContainerApplication>
    <ApplicationType>Windows Store</ApplicationType>
    <ApplicationTypeRevision>10.0</ApplicationTypeRevision>
  </PropertyGroup>
  <PropertyGroup>
    <!-- Set the minimum Windows 10 SDK version to TH1/RTM. -->
    <WindowsTargetPlatformMinVersion>10.0.10240.0</WindowsTargetPlatformMinVersion>
  </PropertyGroup>
  <!-- The following import will set the PlatformToolset configuration. -->
  <Import Project="..\allinone\Build.Windows.PlatformToolset.props" />
  <!-- The following PropertyGroups are used to set the binary and lib output locations -->
  <PropertyGroup Condition="'$(Platform)'=='Win32'">
    <IcuBinOutputDir>bin32uwp</IcuBinOutputDir>
    <IcuLibOutputDir>lib32uwp</IcuLibOutputDir>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Platform)'=='x64'">
    <IcuBinOutputDir>bin64uwp</IcuBinOutputDir>
    <IcuLibOutputDir>lib64uwp</IcuLibOutputDir>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Platform)'=='ARM'">
    <IcuBinOutputDir>binARMuwp</IcuBinOutputDir>
    <IcuLibOutputDir>libARMuwp</IcuLibOutputDir>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Platform)'=='ARM64'">
    <IcuBinOutputDir>binARM64uwp</IcuBinOutputDir>
    <IcuLibOutputDir>libARM64uwp</IcuLibOutputDir>
  </PropertyGroup>
  <ItemDefinitionGroup>
    <Midl>
      <PreprocessorDefinitions>
        %(PreprocessorDefinitions)
        U_PLATFORM_HAS_WINUWP_API=1;
      </PreprocessorDefinitions>
    </Midl>
    <ClCompile>
      <PreprocessorDefinitions>
        %(PreprocessorDefinitions);
        U_PLATFORM_HAS_WINUWP_API=1;
      </PreprocessorDefinitions>
    </ClCompile>
    <ResourceCompile>
      <PreprocessorDefinitions>
        %(PreprocessorDefinitions)
        U_PLATFORM_HAS_WINUWP_API=1;
      </PreprocessorDefinitions>
    </ResourceCompile>
  </ItemDefinitionGroup>
</Project>