Remove in-repo vcpkg configurations
Signed-off-by: Tao He <sighingnow@gmail.com>
This commit is contained in:
parent
9e1e60af2e
commit
81d446e55c
|
|
@ -18,7 +18,7 @@ i.e., `ETCDCTL_API=3`.
|
|||
- MacOS 11.0
|
||||
|
||||
+ **Windows**
|
||||
- Windows 10, with [vcpkg](https://github.com/microsoft/vcpkg)
|
||||
- Windows 10, with [vcpkg](https://github.com/microsoft/vcpkg/tree/master/ports/etcd-cpp-apiv3)
|
||||
|
||||
### Supported etcd versions:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,27 +0,0 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO etcd-cpp-apiv3/etcd-cpp-apiv3
|
||||
REF 2e38d3c11e02366906328d5905ac934311761cd0
|
||||
SHA512 ca6613b821643050701cbfcb7f9f35c48f0ea9a9d86b73b0401cbacf66a50a1c98b14e07fe8f0939dba379ceb2cf6c60093158b1b4a20c731984c47875b97f90
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DBUILD_ETCD_TESTS=OFF
|
||||
)
|
||||
set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
|
||||
set(VCPKG_POLICY_DLLS_WITHOUT_EXPORTS enabled)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/etcd-cpp-api)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/etcd-cpp-apiv3 RENAME copyright)
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
{
|
||||
"name": "etcd-cpp-apiv3",
|
||||
"version-string": "0.2.8",
|
||||
"description": "The etcd-cpp-apiv3 is a C++ API for etcd's v3 client API, i.e., ETCDCTL_API=3.",
|
||||
"homepage": "https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3",
|
||||
"dependencies": [
|
||||
"boost-asio",
|
||||
"boost-random",
|
||||
"boost-system",
|
||||
"boost-thread",
|
||||
"cpprestsdk",
|
||||
"grpc",
|
||||
"openssl",
|
||||
"protobuf"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue