|
25 | 25 | <!-- ARM does not support ICU until we figure out how to link icudtXXl.dat without genccode.exe --> |
26 | 26 | <ChakraICU Condition="'$(Platform)'=='ARM'">false</ChakraICU> |
27 | 27 |
|
| 28 | + <WindowsICU Condition="'$(WindowsICU)'==''">false</WindowsICU> |
| 29 | + |
28 | 30 | <UseICU Condition="'$(UseICU)'==''">false</UseICU> |
29 | 31 | <UseICU Condition="'$(BuildLite)'=='true'">false</UseICU> |
30 | | - <UseICU Condition="'$(ChakraICU)'!='false'">true</UseICU> |
| 32 | + <UseICU Condition="'$(ChakraICU)'!='false' OR '$(WindowsICU)'=='true'">true</UseICU> |
| 33 | + </PropertyGroup> |
| 34 | + <PropertyGroup Condition="'$(WindowsICU)'=='true'"> |
| 35 | + <IcuLibraryDependencies>icuuc.lib;icuin.lib</IcuLibraryDependencies> |
31 | 36 | </PropertyGroup> |
32 | 37 | <Import Condition="'$(ChakraICU)'!='false' AND exists('$(ChakraCoreRootDirectory)deps\Chakra.ICU\Chakra.ICU.props')" Project="$(ChakraCoreRootDirectory)deps\Chakra.ICU\Chakra.ICU.props" /> |
33 | 38 | <ItemDefinitionGroup> |
|
53 | 58 | </PreprocessorDefinitions> |
54 | 59 | <PreprocessorDefinitions Condition="'$(UseICU)'=='true'"> |
55 | 60 | %(PreprocessorDefinitions); |
56 | | - HAS_ICU |
| 61 | + HAS_ICU; |
| 62 | + U_DISABLE_RENAMING=1; <!-- Disable renaming to maintain compatibility with Windows Kit ICU's icuuc/icuin.lib --> |
57 | 63 | </PreprocessorDefinitions> |
58 | 64 | <PreprocessorDefinitions Condition="'$(EnableIntl)'=='true' AND '$(UseICU)'=='true'"> |
59 | 65 | %(PreprocessorDefinitions); |
|
63 | 69 | %(PreprocessorDefinitions); |
64 | 70 | U_STATIC_IMPLEMENTATION=1 |
65 | 71 | </PreprocessorDefinitions> |
66 | | - <PreprocessorDefinitions Condition="'$(UseICU)'=='true'"> |
67 | | - U_DISABLE_RENAMING=1; <!-- Disable renaming to maintain compatibility with Windows Kit ICU's icuuc/icuin.lib --> |
68 | | - ICU_VERSION=$(IcuVersionMajor); |
69 | | - %(PreprocessorDefinitions) |
| 72 | + <PreprocessorDefinitions Condition="'$(WindowsICU)'=='true'"> |
| 73 | + %(PreprocessorDefinitions); |
| 74 | + WINDOWS10_ICU |
| 75 | + </PreprocessorDefinitions> |
| 76 | + <PreprocessorDefinitions Condition="'$(WindowsICU)'=='false'"> |
| 77 | + %(PreprocessorDefinitions); |
| 78 | + ICU_VERSION=$(IcuVersionMajor) |
70 | 79 | </PreprocessorDefinitions> |
71 | 80 | <PreprocessorDefinitions Condition="'$(ForceSWB)'=='true'"> |
72 | 81 | %(PreprocessorDefinitions); |
|
78 | 87 | %(DisableSpecificWarnings); |
79 | 88 | 4458; <!-- declaration of '' hides class member --> |
80 | 89 | 4312; <!-- 'type cast': conversion from '' to '' of greater size --> |
81 | | - 4800; <!-- type' : forcing value to bool 'true' or 'false' (performance warning) [always off in 2017 by default, but warns in 2015 --> |
| 90 | + 4800; <!-- 'type' : forcing value to bool 'true' or 'false' (performance warning) [always off in 2017 by default, but warns in 2015] --> |
82 | 91 | </DisableSpecificWarnings> |
83 | 92 | <!-- Use the debug CRT in debug build --> |
84 | 93 | <RuntimeLibrary Condition="'$(Configuration)'=='Debug' AND '$(RuntimeLib)'!='static_library'">MultiThreadedDebugDLL</RuntimeLibrary> |
|
0 commit comments