diff --git a/ports/reflectcpp/portfile.cmake b/ports/reflectcpp/portfile.cmake index 4f572a5e5b..df098f72af 100644 --- a/ports/reflectcpp/portfile.cmake +++ b/ports/reflectcpp/portfile.cmake @@ -2,7 +2,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO getml/reflect-cpp REF "v${VERSION}" - SHA512 755f1474f3c58a950c6db010eeea388a11cf1caca66fbb75b1e03c86794fb3a9c6fa1509e0e78401d31055f43bcaddcd138da06d54e1e3507b2ea08d3a2d05b1 + SHA512 9c5034e6d964a1ae817cb14e4cd0d19ccb69e703affd8c070105ace63f2f0f59079ae450c1de7a19d3e35faf471dcd5e4bbd56cd3f0594f23059dfc45f622ac0 HEAD_REF main ) @@ -11,6 +11,16 @@ if(VCPKG_TARGET_IS_WINDOWS) endif() string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" REFLECTCPP_BUILD_SHARED) +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + bson REFLECTCPP_BSON + flexbuffers REFLECTCPP_FLEXBUFFERS + msgpack REFLECTCPP_MSGPACK + ubjson REFLECTCPP_UBJSON + xml REFLECTCPP_XML + yaml REFLECTCPP_YAML +) + vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} OPTIONS diff --git a/ports/reflectcpp/vcpkg.json b/ports/reflectcpp/vcpkg.json index a8da95833f..98e1eb0bd7 100644 --- a/ports/reflectcpp/vcpkg.json +++ b/ports/reflectcpp/vcpkg.json @@ -1,6 +1,6 @@ { "name": "reflectcpp", - "version": "0.13.0", + "version": "0.16.0", "description": "A C++ library for serialization and deserialization using reflection.", "homepage": "https://github.com/getml/reflect-cpp/", "license": "MIT", @@ -19,7 +19,63 @@ }, { "name": "yyjson", - "version>=": "0.9.0" + "version>=": "0.10.0" } - ] + ], + "features": { + "bson": { + "description": "Support for the BSON format", + "dependencies": [ + { + "name": "libbson", + "version>=": "1.25.1" + } + ] + }, + "flexbuffers": { + "description": "Support for the flexbuffers format (part of flatbuffers)", + "dependencies": [ + { + "name": "flatbuffers", + "version>=": "23.5.26#1" + } + ] + }, + "msgpack": { + "description": "Support for the msgpack format", + "dependencies": [ + { + "name": "msgpack-c", + "version>=": "6.0.0" + } + ] + }, + "ubjson": { + "description": "Support for the UBJSON format", + "dependencies": [ + { + "name": "jsoncons", + "version>=": "0.176.0" + } + ] + }, + "xml": { + "description": "Support for the XML format", + "dependencies": [ + { + "name": "pugixml", + "version>=": "1.14" + } + ] + }, + "yaml": { + "description": "Support for the YAML format", + "dependencies": [ + { + "name": "yaml-cpp", + "version>=": "0.8.0#1" + } + ] + } + } } diff --git a/versions/baseline.json b/versions/baseline.json index 7a2f0f6af6..09ee9d1c91 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7905,7 +7905,7 @@ "port-version": 0 }, "reflectcpp": { - "baseline": "0.13.0", + "baseline": "0.16.0", "port-version": 0 }, "refprop-headers": { diff --git a/versions/r-/reflectcpp.json b/versions/r-/reflectcpp.json index 78acc6b826..ae65e3b937 100644 --- a/versions/r-/reflectcpp.json +++ b/versions/r-/reflectcpp.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "18558577ba05cafc84ff2d0e89eb712297411da9", + "version": "0.16.0", + "port-version": 0 + }, { "git-tree": "08d112d4bab3b16cfb10d1af5876dd192448be15", "version": "0.13.0",