Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions ports/hazelcast-cpp-client/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO hazelcast/hazelcast-cpp-client
REF "e8adeabb6ab39b4df946896cc01f3ceb103c2218"
SHA512 6a4d55bb37a66b19d57c4ecf429505e1fc93680d8e9380f0c87176baf6b9d340a99df5fedb78ae832e40a6d3a98560b058653cb7d4e6c9a2ee7f9b372f8736b0
HEAD_REF master
)

vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
openssl WITH_OPENSSL
example BUILD_EXAMPLES
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)

vcpkg_cmake_install()

vcpkg_copy_pdbs()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)

vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/hazelcast-cpp-client)

# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
39 changes: 39 additions & 0 deletions ports/hazelcast-cpp-client/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "hazelcast-cpp-client",
"version": "5.5.0",
"description": "C++ client library for Hazelcast in-memory database.",
"homepage": "https://github.com/hazelcast/hazelcast-cpp-client",
"documentation": "https://docs.hazelcast.com/hazelcast/latest/clients/cplusplus",
"license": "Apache-2.0",
"supports": "!uwp",
"dependencies": [
"boost-asio",
"boost-chrono",
"boost-format",
"boost-multiprecision",
"boost-optional",
"boost-property-tree",
"boost-system",
"boost-thread",
"boost-uuid",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"example": {
"description": "Build examples for Hazelcast C++ client"
},
"openssl": {
"description": "Build Hazelcast C++ client with SSL support",
"dependencies": [
"openssl"
]
}
}
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3709,8 +3709,8 @@
"port-version": 4
},
"hazelcast-cpp-client": {
"baseline": "5.3.0",
"port-version": 2
"baseline": "5.5.0",
"port-version": 0
},
"hdf5": {
"baseline": "1.14.6",
Expand Down
5 changes: 5 additions & 0 deletions versions/h-/hazelcast-cpp-client.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "85552d598eb1e3da76903e0675a0af12b38c2ddf",
"version": "5.5.0",
"port-version": 0
},
{
"git-tree": "b2986c68cffcef656c35d10042d0df2b6d79fdf6",
"version": "5.3.0",
Expand Down