diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-12-05 13:00:50 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-12-19 10:21:58 -0800 |
| commit | 14358e8b257a27f86a58bf95aaca1625c1ec2a26 (patch) | |
| tree | ea03452d749b07e443ebf66a52e1e8ca0e51853b /ports/boost-locale | |
| parent | 5ac69dd02bef426d71ed1e58923345c9042c37dc (diff) | |
| download | vcpkg-14358e8b257a27f86a58bf95aaca1625c1ec2a26.tar.gz vcpkg-14358e8b257a27f86a58bf95aaca1625c1ec2a26.zip | |
[boost] Modularize
Diffstat (limited to 'ports/boost-locale')
| -rw-r--r-- | ports/boost-locale/CONTROL | 9 | ||||
| -rw-r--r-- | ports/boost-locale/portfile.cmake | 28 |
2 files changed, 37 insertions, 0 deletions
diff --git a/ports/boost-locale/CONTROL b/ports/boost-locale/CONTROL new file mode 100644 index 000000000..884c737b4 --- /dev/null +++ b/ports/boost-locale/CONTROL @@ -0,0 +1,9 @@ +# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
+Source: boost-locale
+Version: 1.66.0
+Build-Depends: boost-assert, boost-build, boost-config, boost-function, boost-integer, boost-iterator, boost-smart-ptr, boost-static-assert, boost-thread (windows), boost-type-traits, boost-unordered, boost-vcpkg-helpers
+Description: Boost locale module
+
+Feature: icu
+Description: ICU backend for Boost.Locale
+Build-Depends: icu
diff --git a/ports/boost-locale/portfile.cmake b/ports/boost-locale/portfile.cmake new file mode 100644 index 000000000..b8126dce5 --- /dev/null +++ b/ports/boost-locale/portfile.cmake @@ -0,0 +1,28 @@ +# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
+
+include(vcpkg_common_functions)
+include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular.cmake)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO boostorg/locale
+ REF boost-1.66.0
+ SHA512 558c84fe83909b9eb410ed5b846d2393733811e3765e99e41884a7fc7020163437a42584911b4f634706c1a0e79e23bb09bd6a3ffa219c9e524a10ace02728af
+ HEAD_REF master
+)
+
+if("icu" IN_LIST FEATURES)
+ set(BOOST_LOCALE_ICU on)
+else()
+ set(BOOST_LOCALE_ICU off)
+endif()
+
+boost_modular_build(
+ SOURCE_PATH ${SOURCE_PATH}
+ OPTIONS
+ boost.locale.iconv=off
+ boost.locale.posix=off
+ /boost/locale//boost_locale
+ boost.locale.icu=${BOOST_LOCALE_ICU}
+)
+boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
