• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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      <WarningLevel>Level3</WarningLevel>
41      <CompileAs>Default</CompileAs>
42      <PrecompiledHeaderOutputFile>$(OutDir)/icudt.pch</PrecompiledHeaderOutputFile>
43      <AssemblerListingLocation>$(OutDir)/</AssemblerListingLocation>
44      <ObjectFileName>$(OutDir)/</ObjectFileName>
45      <ProgramDataBaseFileName>$(OutDir)/icudt.pdb</ProgramDataBaseFileName>
46    </ClCompile>
47    <ResourceCompile>
48      <PreprocessorDefinitions>STUBDATA_BUILD;%(PreprocessorDefinitions)</PreprocessorDefinitions>
49    </ResourceCompile>
50    <PreLinkEvent>
51      <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>
52    </PreLinkEvent>
53    <Link>
54      <NoEntryPoint>true</NoEntryPoint>
55      <SetChecksum>true</SetChecksum>
56      <TurnOffAssemblyGeneration>true</TurnOffAssemblyGeneration>
57      <!-- Note: stubdata is somewhat odd in that it doesn't suffix the Debug output DLL/LIB with a "d" like common/i18n/etc. -->
58      <OutputFile>..\..\$(IcuBinOutputDir)\icudt$(IcuMajorVersion).dll</OutputFile>
59      <ProgramDatabaseFile>.\..\..\$(IcuLibOutputDir)\icudt.pdb</ProgramDatabaseFile>
60      <ImportLibrary>..\..\$(IcuLibOutputDir)\icudt.lib</ImportLibrary>
61    </Link>
62  </ItemDefinitionGroup>
63  <!-- Options that are common to all 'Debug' project configurations -->
64  <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
65    <ClCompile>
66      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
67    </ClCompile>
68  </ItemDefinitionGroup>
69  <!-- Options that are common to all 'Release' project configurations -->
70  <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
71    <ClCompile>
72      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
73    </ClCompile>
74  </ItemDefinitionGroup>
75  <ItemGroup>
76    <ClCompile Include="stubdata.cpp" />
77  </ItemGroup>
78  <ItemGroup>
79    <ResourceCompile Include="..\data\misc\icudata.rc">
80      <AdditionalIncludeDirectories>../common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
81    </ResourceCompile>
82  </ItemGroup>
83  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
84  <ImportGroup Label="ExtensionTargets">
85  </ImportGroup>
86</Project>
87