(Windows) Reduced the ICU library size via a data filter file

This commit is contained in:
Leon Styhre 2024-09-03 19:09:06 +02:00
parent 1b70d815dd
commit e9f4b4b261
2 changed files with 9 additions and 0 deletions

View file

@ -35,6 +35,14 @@ if not exist icu/icu4c\ (
)
cd icu/icu4c
set ICU_DATA_FILTER_FILE=%cd%\source\icu_filters.json
if not exist %ICU_DATA_FILTER_FILE% (
echo %ICU_DATA_FILTER_FILE% file is missing, aborting.
cd ..
goto end
)
msbuild source\allinone\allinone.sln /p:Configuration=Release /p:Platform=x64 /p:SkipUWP=true
copy /Y bin64\icudt75.dll ..\..\..\

View file

@ -86,6 +86,7 @@ if not exist icu\ (
cd icu
git sparse-checkout set --no-cone icu4c
git checkout release-75-1
copy /Y ..\..\es-app\assets\icu_filters.json icu4c\source\
cd ..
echo: