1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <PropertyGroup Label="Globals">
4    <ProjectGuid>{203EC78A-0531-43F0-A636-285439BDE025}</ProjectGuid>
5  </PropertyGroup>
6  <PropertyGroup Label="Configuration">
7    <ConfigurationType>DynamicLibrary</ConfigurationType>
8    <UseOfMfc>false</UseOfMfc>
9    <CharacterSet>MultiByte</CharacterSet>
10  </PropertyGroup>
11  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
12  <!-- The following import will include the 'default' configuration options for VS projects. -->
13  <Import Project="..\allinone\Build.Windows.ProjectConfiguration.props" />
14  <!-- The following import will include the library configuration options for VS projects. -->
15  <Import Project="..\allinone\Build.Windows.Library.ProjectConfiguration.props" />
16  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
17  <ImportGroup Label="ExtensionSettings">
18  </ImportGroup>
19  <PropertyGroup Label="UserMacros" />
20  <PropertyGroup>
21    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
22    <GenerateManifest>false</GenerateManifest>
23    <OutDir>.\$(Platform)\$(Configuration)\</OutDir>
24    <IntDir>.\$(Platform)\$(Configuration)\</IntDir>
25    <!-- The ICU projects use "Win32" to mean "x86", so we need to special case it. -->
26    <OutDir Condition="'$(Platform)'=='Win32'">.\x86\$(Configuration)\</OutDir>
27    <IntDir Condition="'$(Platform)'=='Win32'">.\x86\$(Configuration)\</IntDir>
28    <!-- Disable Incremental Linking for Release builds as it prevents Link-time Code Generation -->
29    <LinkIncremental Condition="'$(Configuration)'=='Debug'">true</LinkIncremental>
30    <LinkIncremental Condition="'$(Configuration)'=='Release'">false</LinkIncremental>
31  </PropertyGroup>
32  <!-- Options that are common to *all* project configurations -->
33  <ItemDefinitionGroup>
34    <Midl>
35      <TypeLibraryName>$(OutDir)\icudt.tlb</TypeLibraryName>
36    </Midl>
37    <ClCompile>
38      <AdditionalIncludeDirectories>..\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
39      <PreprocessorDefinitions>STUBDATA_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>
40      <DisableLanguageExtensions>true</DisableLanguageExtensions>
41      <WarningLevel>Level3</WarningLevel>
42      <CompileAs>Default</CompileAs>
43      <PrecompiledHeaderOutputFile>$(OutDir)/icudt.pch</PrecompiledHeaderOutputFile>
44      <AssemblerListingLocation>$(OutDir)/</AssemblerListingLocation>
45      <ObjectFileName>$(OutDir)/</ObjectFileName>
46      <ProgramDataBaseFileName>$(OutDir)/icudt.pdb</ProgramDataBaseFileName>
47    </ClCompile>
48    <ResourceCompile>
49      <PreprocessorDefinitions>STUBDATA_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>
50    </ResourceCompile>
51    <PreLinkEvent>
52      <Command>echo "File with stubdata build time, used as a dependency to trigger fresh data build, since stubdata dll will overwrite the real one." &gt; "$(ProjectDir)stubdatabuilt.txt"</Command>
53    </PreLinkEvent>
54    <Link>
55      <NoEntryPoint>true</NoEntryPoint>
56      <SetChecksum>true</SetChecksum>
57      <TurnOffAssemblyGeneration>true</TurnOffAssemblyGeneration>
58      <!-- Note: stubdata is somewhat odd in that it doesn't suffix the Debug output DLL/LIB with a "d" like common/i18n/etc. -->
59      <OutputFile>..\..\$(IcuBinOutputDir)\icudt68.dll</OutputFile>
60      <ProgramDatabaseFile>.\..\..\$(IcuLibOutputDir)\icudt.pdb</ProgramDatabaseFile>
61      <ImportLibrary>..\..\$(IcuLibOutputDir)\icudt.lib</ImportLibrary>
62    </Link>
63  </ItemDefinitionGroup>
64  <!-- Options that are common to all 'Debug' project configurations -->
65  <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
66    <ClCompile>
67      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
68    </ClCompile>
69  </ItemDefinitionGroup>
70  <!-- Options that are common to all 'Release' project configurations -->
71  <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
72    <ClCompile>
73      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
74    </ClCompile>
75  </ItemDefinitionGroup>
76  <ItemGroup>
77    <ClCompile Include="stubdata.cpp" />
78  </ItemGroup>
79  <ItemGroup>
80    <ResourceCompile Include="..\data\misc\icudata.rc">
81      <AdditionalIncludeDirectories>../common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
82    </ResourceCompile>
83  </ItemGroup>
84  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
85  <ImportGroup Label="ExtensionTargets">
86  </ImportGroup>
87</Project>
88