|
37 | 37 | <PropertyGroup Label="Globals">
|
38 | 38 | <ProjectGuid>{C10CF34B-3F79-430E-AD38-5A32DC0589C2}</ProjectGuid>
|
39 | 39 | <Keyword>DynamicLibrary</Keyword>
|
| 40 | + <Keyword Condition="'$(ENABLE_STATIC)'=='YES'">StaticLibrary</Keyword> |
40 | 41 | <DefaultLanguage>en-US</DefaultLanguage>
|
41 | 42 | </PropertyGroup>
|
42 | 43 | <PropertyGroup Label="Configuration">
|
43 | 44 | <ConfigurationType>DynamicLibrary</ConfigurationType>
|
| 45 | + <ConfigurationType Condition="'$(ENABLE_STATIC)'=='YES'">StaticLibrary</ConfigurationType> |
44 | 46 | <UseOfMfc>false</UseOfMfc>
|
45 | 47 | <CharacterSet>MultiByte</CharacterSet>
|
46 | 48 | </PropertyGroup>
|
|
108 | 110 | <!-- The icudt.lib is for U_ICUDATA_ENTRY_POINT -->
|
109 | 111 | <AdditionalDependencies>icudt.lib;onecore.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
110 | 112 | </Link>
|
| 113 | + <Lib> |
| 114 | + <SuppressStartupBanner>true</SuppressStartupBanner> |
| 115 | + <GenerateWindowsMetadata>false</GenerateWindowsMetadata> |
| 116 | + <RandomizedBaseAddress>true</RandomizedBaseAddress> |
| 117 | + <DataExecutionPrevention> |
| 118 | + </DataExecutionPrevention> |
| 119 | + <TurnOffAssemblyGeneration>true</TurnOffAssemblyGeneration> |
| 120 | + <IgnoreSpecificDefaultLibraries>vccorlib.lib;msvcrt.lib</IgnoreSpecificDefaultLibraries> |
| 121 | + <!-- The icudt.lib is for U_ICUDATA_ENTRY_POINT --> |
| 122 | + <AdditionalDependencies>icudt.lib;%(AdditionalDependencies)</AdditionalDependencies> |
| 123 | + </Lib> |
111 | 124 | </ItemDefinitionGroup>
|
112 | 125 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
113 | 126 | <!-- Options that are common to all 'Release' configurations -->
|
|
128 | 141 | <ProgramDatabaseFile>.\..\..\$(IcuLibOutputDir)\icuuc.pdb</ProgramDatabaseFile>
|
129 | 142 | <ImportLibrary>..\..\$(IcuLibOutputDir)\icuuc.lib</ImportLibrary>
|
130 | 143 | </Link>
|
| 144 | + <Lib> |
| 145 | + <EnableCOMDATFolding>true</EnableCOMDATFolding> |
| 146 | + <AdditionalDependencies>vccorlib.lib;msvcrt.lib;vcruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> |
| 147 | + <ProgramDatabaseFile>.\..\..\$(IcuLibOutputDir)\icuuc.pdb</ProgramDatabaseFile> |
| 148 | + <OutputFile>..\..\$(IcuLibOutputDir)\icuuc.lib</OutputFile> |
| 149 | + </Lib> |
131 | 150 | </ItemDefinitionGroup>
|
132 | 151 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
133 | 152 | <!-- Options that are common to all 'Debug' configurations -->
|
|
151 | 170 | <ProgramDatabaseFile>.\..\..\$(IcuLibOutputDir)\icuucd.pdb</ProgramDatabaseFile>
|
152 | 171 | <ImportLibrary>..\..\$(IcuLibOutputDir)\icuucd.lib</ImportLibrary>
|
153 | 172 | </Link>
|
| 173 | + <Lib> |
| 174 | + <GenerateDebugInformation>true</GenerateDebugInformation> |
| 175 | + <ProgramDatabaseFile>.\..\..\$(IcuLibOutputDir)\icuucd.pdb</ProgramDatabaseFile> |
| 176 | + <OutputFile>..\..\$(IcuLibOutputDir)\icuucd.lib</OutputFile> |
| 177 | + </Lib> |
154 | 178 | </ItemDefinitionGroup>
|
155 | 179 | <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
|
156 | 180 | <!-- Options that are common to all 32-bit configurations -->
|
|
164 | 188 | <!-- This is so that we can use the existing stubdata icudt.lib and not need a UWP version. -->
|
165 | 189 | <AdditionalLibraryDirectories>.\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
166 | 190 | </Link>
|
| 191 | + <Lib> |
| 192 | + <!-- This is so that we can use the existing stubdata icudt.lib and not need a UWP version. --> |
| 193 | + <AdditionalLibraryDirectories>.\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
| 194 | + </Lib> |
167 | 195 | </ItemDefinitionGroup>
|
168 | 196 | <ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
|
169 | 197 | <!-- Options that are common to all 64-bit configurations -->
|
|
178 | 206 | <!-- This is so that we can use the existing stubdata icudt.lib and not need a UWP version. -->
|
179 | 207 | <AdditionalLibraryDirectories>.\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
180 | 208 | </Link>
|
| 209 | + <Lib> |
| 210 | + <TargetMachine>MachineX64</TargetMachine> |
| 211 | + <!-- This is so that we can use the existing stubdata icudt.lib and not need a UWP version. --> |
| 212 | + <AdditionalLibraryDirectories>.\..\..\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
| 213 | + </Lib> |
181 | 214 | </ItemDefinitionGroup>
|
182 | 215 | <ItemDefinitionGroup Condition="'$(Platform)'=='ARM'">
|
183 | 216 | <!-- Options that are common to all ARM configurations -->
|
|
192 | 225 | <!-- This is so that we can use the existing stubdata icudt.lib and not need a UWP version. -->
|
193 | 226 | <AdditionalLibraryDirectories>.\..\..\libARM;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
194 | 227 | </Link>
|
| 228 | + <Lib> |
| 229 | + <TargetMachine>MachineARM</TargetMachine> |
| 230 | + <!-- This is so that we can use the existing stubdata icudt.lib and not need a UWP version. --> |
| 231 | + <AdditionalLibraryDirectories>.\..\..\libARM;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
| 232 | + </Lib> |
195 | 233 | </ItemDefinitionGroup>
|
196 | 234 | <ItemDefinitionGroup Condition="'$(Platform)'=='ARM64'">
|
197 | 235 | <!-- Options that are common to all ARM64 configurations -->
|
|
206 | 244 | <!-- This is so that we can use the existing stubdata icudt.lib and not need a UWP version. -->
|
207 | 245 | <AdditionalLibraryDirectories>.\..\..\libARM64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
208 | 246 | </Link>
|
| 247 | + <Lib> |
| 248 | + <TargetMachine>MachineARM64</TargetMachine> |
| 249 | + <!-- This is so that we can use the existing stubdata icudt.lib and not need a UWP version. --> |
| 250 | + <AdditionalLibraryDirectories>.\..\..\libARM64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
| 251 | + </Lib> |
209 | 252 | </ItemDefinitionGroup>
|
210 | 253 | <ItemGroup>
|
211 | 254 | <ClCompile Include="edits.cpp" />
|
|
0 commit comments