diff options
| author | ihsan demir <ihsan@hazelcast.com> | 2021-02-25 01:06:58 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-24 14:06:58 -0800 |
| commit | c235296c65527a8fa299348c49cc3011e4bbdf51 (patch) | |
| tree | 97e93c22a489084eb4004e4dfb481102ea3d850d | |
| parent | 6e8aaa76f89f7a99fbe2ba4333c61cf940cd8bc4 (diff) | |
| download | vcpkg-c235296c65527a8fa299348c49cc3011e4bbdf51.tar.gz vcpkg-c235296c65527a8fa299348c49cc3011e4bbdf51.zip | |
[hazelcast-cpp-client] Add new port (#16235)
* Added Hazelcast C++ client (https://github.com/hazelcast/hazelcast-cpp-client) port for Hazelcast in-memory database.
* Fixed the patch (The generated cmake files destination is corrected.)
* Updated the patch. see https://github.com/hazelcast/hazelcast-cpp-client/pull/812
* Disable uwp support.
* Added the missing version file for hazelcast-cpp-client.
* [hazelcast-cpp-client] Avoid checking in large patch file
* Format vcpkg.json
* Updated the version for the latest commit using the command `./vcpkg x-add-version --overwrite-version hazelcast-cpp-client`.
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
| -rw-r--r-- | ports/hazelcast-cpp-client/portfile.cmake | 29 | ||||
| -rw-r--r-- | ports/hazelcast-cpp-client/vcpkg.json | 30 | ||||
| -rw-r--r-- | versions/baseline.json | 4 | ||||
| -rw-r--r-- | versions/h-/hazelcast-cpp-client.json | 9 |
4 files changed, 72 insertions, 0 deletions
diff --git a/ports/hazelcast-cpp-client/portfile.cmake b/ports/hazelcast-cpp-client/portfile.cmake new file mode 100644 index 000000000..610c35744 --- /dev/null +++ b/ports/hazelcast-cpp-client/portfile.cmake @@ -0,0 +1,29 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO hazelcast/hazelcast-cpp-client + REF 57ece8e82c4380472b4acff948db6a86ff0648b1 # v4.0.0 + fixes + SHA512 eb11677883f237e27562dfcd0f0e7e19ed439f8b0e13ca02942d2351b99ec54d4496cbaf8c3aaa08304b799f921641d51286bb7b7d4c6a0f1ff58cf954f3596f + HEAD_REF master +) + +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + openssl WITH_OPENSSL + example BUILD_EXAMPLES +) + +vcpkg_configure_cmake( + SOURCE_PATH "${SOURCE_PATH}" + PREFER_NINJA + OPTIONS ${FEATURE_OPTIONS} +) + +vcpkg_install_cmake() + +vcpkg_copy_pdbs() + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) + +vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/hazelcast-cpp-client) + +# Handle copyright +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
\ No newline at end of file diff --git a/ports/hazelcast-cpp-client/vcpkg.json b/ports/hazelcast-cpp-client/vcpkg.json new file mode 100644 index 000000000..1001c3d97 --- /dev/null +++ b/ports/hazelcast-cpp-client/vcpkg.json @@ -0,0 +1,30 @@ +{ + "name": "hazelcast-cpp-client", + "version-semver": "4.0.0", + "description": "C++ client library for Hazelcast in-memory database.", + "homepage": "https://github.com/hazelcast/hazelcast-cpp-client", + "documentation": "http://hazelcast.github.io/hazelcast-cpp-client/index.html", + "supports": "!uwp", + "dependencies": [ + "boost-any", + "boost-asio", + "boost-chrono", + "boost-format", + "boost-optional", + "boost-property-tree", + "boost-system", + "boost-thread", + "boost-uuid" + ], + "features": { + "example": { + "description": "Build examples for Hazelcast C++ client" + }, + "openssl": { + "description": "Build hazelcast C++ client with SSL support", + "dependencies": [ + "openssl" + ] + } + } +} diff --git a/versions/baseline.json b/versions/baseline.json index 93a1cc47f..4cc532f0c 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2384,6 +2384,10 @@ "baseline": "2019-08-10", "port-version": 0 }, + "hazelcast-cpp-client": { + "baseline": "4.0.0", + "port-version": 0 + }, "hdf5": { "baseline": "1.12.0", "port-version": 0 diff --git a/versions/h-/hazelcast-cpp-client.json b/versions/h-/hazelcast-cpp-client.json new file mode 100644 index 000000000..84fd69b46 --- /dev/null +++ b/versions/h-/hazelcast-cpp-client.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "d0f516ea034e3c58e0c1621f4230445eb303a1b0", + "version-semver": "4.0.0", + "port-version": 0 + } + ] +} |
