mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 21:19:07 +08:00
57676e8f87
- **[cpprestsdk] fix clang build on new zlib** - **./vcpkg x-add-version --all** Defining `dllimport` is *bad* and breaks clang, and since this is in maintaince mode they aren't going to fix it. This had the ability to blow up projects before, but newer zlib versions use `__has_declspec_attribute`, so that makes it impossible to even _build_ cpprestsdk on systems like these (I'm on Fedora 40). Refs: https://github.com/microsoft/cpprestsdk/issues/1710 https://github.com/llvm/llvm-project/issues/53269 - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
118 lines
2.4 KiB
JSON
118 lines
2.4 KiB
JSON
{
|
|
"name": "cpprestsdk",
|
|
"version": "2.10.19",
|
|
"port-version": 1,
|
|
"description": [
|
|
"C++11 JSON, REST, and OAuth library",
|
|
"The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services."
|
|
],
|
|
"homepage": "https://github.com/Microsoft/cpprestsdk",
|
|
"license": "MIT",
|
|
"dependencies": [
|
|
{
|
|
"name": "boost-asio",
|
|
"platform": "!uwp & !windows"
|
|
},
|
|
{
|
|
"name": "boost-chrono",
|
|
"platform": "!uwp & !windows"
|
|
},
|
|
{
|
|
"name": "boost-date-time",
|
|
"platform": "!uwp & !windows"
|
|
},
|
|
{
|
|
"name": "boost-filesystem",
|
|
"platform": "!uwp & !windows"
|
|
},
|
|
{
|
|
"name": "boost-random",
|
|
"platform": "!uwp & !windows"
|
|
},
|
|
{
|
|
"name": "boost-regex",
|
|
"platform": "!uwp & !windows"
|
|
},
|
|
{
|
|
"name": "boost-system",
|
|
"platform": "!uwp & !windows"
|
|
},
|
|
{
|
|
"name": "boost-thread",
|
|
"platform": "!uwp & !windows"
|
|
},
|
|
{
|
|
"name": "openssl",
|
|
"platform": "!uwp & !windows"
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
],
|
|
"default-features": [
|
|
{
|
|
"name": "brotli",
|
|
"platform": "windows"
|
|
},
|
|
"compression"
|
|
],
|
|
"features": {
|
|
"brotli": {
|
|
"description": "Brotli compression support",
|
|
"dependencies": [
|
|
"brotli",
|
|
{
|
|
"name": "cpprestsdk",
|
|
"default-features": false,
|
|
"features": [
|
|
"compression"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"compression": {
|
|
"description": "HTTP Compression support",
|
|
"dependencies": [
|
|
"zlib"
|
|
]
|
|
},
|
|
"websockets": {
|
|
"description": "Websockets support",
|
|
"dependencies": [
|
|
{
|
|
"name": "boost-date-time",
|
|
"platform": "!uwp"
|
|
},
|
|
{
|
|
"name": "boost-regex",
|
|
"platform": "!uwp"
|
|
},
|
|
{
|
|
"name": "boost-system",
|
|
"platform": "!uwp"
|
|
},
|
|
{
|
|
"name": "cpprestsdk",
|
|
"default-features": false,
|
|
"features": [
|
|
"compression"
|
|
]
|
|
},
|
|
{
|
|
"name": "openssl",
|
|
"platform": "!uwp"
|
|
},
|
|
{
|
|
"name": "websocketpp",
|
|
"platform": "!uwp"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|