aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/boost-multiprecision
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/boost-multiprecision')
-rw-r--r--vcpkg/ports/boost-multiprecision/optional-random.diff13
-rw-r--r--vcpkg/ports/boost-multiprecision/portfile.cmake17
-rw-r--r--vcpkg/ports/boost-multiprecision/vcpkg.json55
3 files changed, 85 insertions, 0 deletions
diff --git a/vcpkg/ports/boost-multiprecision/optional-random.diff b/vcpkg/ports/boost-multiprecision/optional-random.diff
new file mode 100644
index 0000000..3f2322a
--- /dev/null
+++ b/vcpkg/ports/boost-multiprecision/optional-random.diff
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d6cdd286..5235670e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -33,7 +33,7 @@ else()
+ Boost::integer
+ Boost::lexical_cast
+ Boost::math
+- Boost::random
++ $<TARGET_NAME_IF_EXISTS:Boost::random>
+ )
+
+ endif()
diff --git a/vcpkg/ports/boost-multiprecision/portfile.cmake b/vcpkg/ports/boost-multiprecision/portfile.cmake
new file mode 100644
index 0000000..06cc8c1
--- /dev/null
+++ b/vcpkg/ports/boost-multiprecision/portfile.cmake
@@ -0,0 +1,17 @@
+# Automatically generated by scripts/boost/generate-ports.ps1
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO boostorg/multiprecision
+ REF boost-${VERSION}
+ SHA512 666a91bd5a74df6c129cf1ff36497eecd7bff2e82deef7a8b8334983b70204af3764a9268d1f85c441c2efb2d834a6e8a683005600a1b4d38e564aaa69a018b5
+ HEAD_REF master
+ PATCHES
+ optional-random.diff
+)
+
+set(FEATURE_OPTIONS "")
+boost_configure_and_install(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS ${FEATURE_OPTIONS}
+)
diff --git a/vcpkg/ports/boost-multiprecision/vcpkg.json b/vcpkg/ports/boost-multiprecision/vcpkg.json
new file mode 100644
index 0000000..3250b7c
--- /dev/null
+++ b/vcpkg/ports/boost-multiprecision/vcpkg.json
@@ -0,0 +1,55 @@
+{
+ "$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
+ "name": "boost-multiprecision",
+ "version": "1.89.0",
+ "description": "Boost multiprecision module",
+ "homepage": "https://www.boost.org/libs/multiprecision",
+ "license": "BSL-1.0",
+ "dependencies": [
+ {
+ "name": "boost-assert",
+ "version>=": "1.89.0"
+ },
+ {
+ "name": "boost-cmake",
+ "version>=": "1.89.0"
+ },
+ {
+ "name": "boost-config",
+ "version>=": "1.89.0"
+ },
+ {
+ "name": "boost-core",
+ "version>=": "1.89.0"
+ },
+ {
+ "name": "boost-headers",
+ "version>=": "1.89.0"
+ },
+ {
+ "name": "boost-integer",
+ "version>=": "1.89.0"
+ },
+ {
+ "name": "boost-lexical-cast",
+ "version>=": "1.89.0"
+ },
+ {
+ "name": "boost-math",
+ "version>=": "1.89.0"
+ },
+ {
+ "name": "boost-predef",
+ "version>=": "1.89.0"
+ },
+ {
+ "name": "boost-random",
+ "platform": "!uwp",
+ "version>=": "1.89.0"
+ },
+ {
+ "name": "boost-throw-exception",
+ "version>=": "1.89.0"
+ }
+ ]
+}