aboutsummaryrefslogtreecommitdiff
path: root/ports/boost-regex
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-12-05 13:00:50 -0800
committerRobert Schumacher <roschuma@microsoft.com>2017-12-19 10:21:58 -0800
commit14358e8b257a27f86a58bf95aaca1625c1ec2a26 (patch)
treeea03452d749b07e443ebf66a52e1e8ca0e51853b /ports/boost-regex
parent5ac69dd02bef426d71ed1e58923345c9042c37dc (diff)
downloadvcpkg-14358e8b257a27f86a58bf95aaca1625c1ec2a26.tar.gz
vcpkg-14358e8b257a27f86a58bf95aaca1625c1ec2a26.zip
[boost] Modularize
Diffstat (limited to 'ports/boost-regex')
-rw-r--r--ports/boost-regex/CONTROL9
-rw-r--r--ports/boost-regex/portfile.cmake21
2 files changed, 30 insertions, 0 deletions
diff --git a/ports/boost-regex/CONTROL b/ports/boost-regex/CONTROL
new file mode 100644
index 000000000..24e5014d4
--- /dev/null
+++ b/ports/boost-regex/CONTROL
@@ -0,0 +1,9 @@
+# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
+Source: boost-regex
+Version: 1.66.0
+Build-Depends: boost-assert, boost-build, boost-compatibility, boost-concept-check, boost-config, boost-core, boost-detail, boost-functional, boost-integer, boost-iterator, boost-mpl, boost-smart-ptr, boost-static-assert, boost-throw-exception, boost-type-traits, boost-vcpkg-helpers
+Description: Boost regex module
+
+Feature: icu
+Description: ICU backend for Boost.Regex
+Build-Depends: icu
diff --git a/ports/boost-regex/portfile.cmake b/ports/boost-regex/portfile.cmake
new file mode 100644
index 000000000..2246e3df4
--- /dev/null
+++ b/ports/boost-regex/portfile.cmake
@@ -0,0 +1,21 @@
+# 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/regex
+ REF boost-1.66.0
+ SHA512 def00fc4876fd83a2581eea15228940a665cb79eff26e979079b5df568952f144b74da2f41ddffe6792784fe3fceca94d7b0f49d1a7f01a4df78948244fe86b1
+ HEAD_REF master
+)
+
+if("icu" IN_LIST FEATURES)
+ set(REQUIREMENTS "<library>/user-config//icuuc <library>/user-config//icudt <library>/user-config//icuin <define>BOOST_HAS_ICU=1")
+else()
+ set(REQUIREMENTS)
+endif()
+
+boost_modular_build(SOURCE_PATH ${SOURCE_PATH} REQUIREMENTS "${REQUIREMENTS}")
+boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})