Build boost.regex with ICU support

This commit is contained in:
Thomas Goyne 2013-02-01 07:19:54 -08:00
parent 91e43d3c17
commit 07adb5c84e
4 changed files with 22 additions and 2 deletions

View file

@ -7,8 +7,22 @@
</PropertyGroup>
<ItemDefinitionGroup>
<Link>
<AdditionalDependencies>Vfw32.lib;comctl32.lib;rpcrt4.lib;winmm.lib;advapi32.lib;wsock32.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>
Vfw32.lib;
comctl32.lib;
rpcrt4.lib;
winmm.lib;
advapi32.lib;
wsock32.lib;
opengl32.lib;
sicudtd.lib;
sicuind.lib;
sicutestd.lib;
sicutud.lib;
sicuucd.lib;
%(AdditionalDependencies)
</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup />
</Project>
</Project>

View file

@ -39,6 +39,7 @@
<ClCompile Include="$(BoostPath)\libs\filesystem\src\utf8_codecvt_facet.cpp" />
<ClCompile Include="$(BoostPath)\libs\filesystem\src\windows_file_codecvt.cpp" />
<ClCompile Include="$(BoostPath)\libs\system\src\error_code.cpp" />
<ClCompile Include="$(BoostPath)\libs\regex\src\icu.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="$(BoostPath)\libs\regex\src\internals.hpp" />

View file

@ -84,6 +84,9 @@
<ClCompile Include="$(BoostPath)\libs\filesystem\src\windows_file_codecvt.cpp">
<Filter>filesystem</Filter>
</ClCompile>
<ClCompile Include="$(BoostPath)\libs\regex\src\icu.cpp">
<Filter>regex</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="$(BoostPath)\libs\regex\src\internals.hpp">

View file

@ -18,6 +18,8 @@
<WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>
BOOST_ALL_NO_LIB;
BOOST_HAS_ICU;
U_STATIC_IMPLEMENTATION;
WIN32;
_WINDOWS;
%(PreprocessorDefinitions)</PreprocessorDefinitions>