Is your feature request related to a problem? Please describe.
ICU port currently statically links ICU data into the binary, this results in HUGE (30MB binary when static linking one method) binaries and makes deployment annoying.
AFAIR it's generally preferred to use a separate .dat file for the data, with companies like Unity, Microsoft and others all building their copies in this mode.
As such, I'd like VCPKG to expose such feature.
Proposed solution
Add a port feature that passes --with-data-packaging=archive to configure and copies the generated .dat file to build output, setting compile definitions to make ICU load it from working dir by default.
Describe alternatives you've considered
Custom overlay triplet
Additional context
https://unicode-org.github.io/icu/userguide/icu_data/#building-and-linking-against-icu-data
Is your feature request related to a problem? Please describe.
ICU port currently statically links ICU data into the binary, this results in HUGE (30MB binary when static linking one method) binaries and makes deployment annoying.
AFAIR it's generally preferred to use a separate .dat file for the data, with companies like Unity, Microsoft and others all building their copies in this mode.
As such, I'd like VCPKG to expose such feature.
Proposed solution
Add a port feature that passes
--with-data-packaging=archiveto configure and copies the generated.datfile to build output, setting compile definitions to make ICU load it from working dir by default.Describe alternatives you've considered
Custom overlay triplet
Additional context
https://unicode-org.github.io/icu/userguide/icu_data/#building-and-linking-against-icu-data