aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/boost-config
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/boost-config
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/boost-config')
-rw-r--r--vcpkg/ports/boost-config/portfile.cmake22
-rw-r--r--vcpkg/ports/boost-config/vcpkg.json18
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/boost-config/portfile.cmake b/vcpkg/ports/boost-config/portfile.cmake
new file mode 100644
index 0000000..d00a3d6
--- /dev/null
+++ b/vcpkg/ports/boost-config/portfile.cmake
@@ -0,0 +1,22 @@
+# Automatically generated by scripts/boost/generate-ports.ps1
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO boostorg/config
+ REF boost-${VERSION}
+ SHA512 456b3d648e4ca2b25a70159d282ee25ee3451b05450d2bb0e16b03e0f96860e4e678e4c8f75200b65cff0d073138083df8f1876cf6c5c227feb62de180ff7f3d
+ HEAD_REF master
+)
+
+set(FEATURE_OPTIONS "")
+boost_configure_and_install(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS ${FEATURE_OPTIONS}
+)
+file(APPEND "${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp" "\n#ifndef BOOST_ALL_NO_LIB\n#define BOOST_ALL_NO_LIB\n#endif\n")
+file(APPEND "${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp" "\n#undef BOOST_ALL_DYN_LINK\n")
+
+if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
+ file(APPEND "${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp" "\n#define BOOST_ALL_DYN_LINK\n")
+endif()
+file(COPY "${SOURCE_PATH}/libs/config/checks" DESTINATION "${CURRENT_PACKAGES_DIR}/share/boost-config")
diff --git a/vcpkg/ports/boost-config/vcpkg.json b/vcpkg/ports/boost-config/vcpkg.json
new file mode 100644
index 0000000..abb0ac4
--- /dev/null
+++ b/vcpkg/ports/boost-config/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
+ "name": "boost-config",
+ "version": "1.89.0",
+ "description": "Boost config module",
+ "homepage": "https://www.boost.org/libs/config",
+ "license": "BSL-1.0",
+ "dependencies": [
+ {
+ "name": "boost-cmake",
+ "version>=": "1.89.0"
+ },
+ {
+ "name": "boost-headers",
+ "version>=": "1.89.0"
+ }
+ ]
+}