mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 15:39:16 +08:00
17f96c51ab
* Deduplicate platform restrictions Ports might be installed even if excluded via 'platform' restrictions. However, for this test ports it is fair to require that if a port can be installed, the platform shall not be exlcuded, and the test shall pass. * Implement CMake version condition * Fix mingw cross builds * Extend cmake-user testing * Update for hidden Iconv dependencies * Format manifest * Add uwp exclusions
134 lines
3.1 KiB
JSON
134 lines
3.1 KiB
JSON
{
|
|
"name": "cmake-user",
|
|
"version-date": "2022-06-11",
|
|
"description": "Test port to verify the vcpkg toolchain in cmake user projects",
|
|
"license": "MIT",
|
|
"default-features": [
|
|
"ci"
|
|
],
|
|
"features": {
|
|
"ci": {
|
|
"description": "The CI set of features to test",
|
|
"dependencies": [
|
|
{
|
|
"name": "cmake-user",
|
|
"default-features": false,
|
|
"features": [
|
|
"cmake-current",
|
|
"find-package"
|
|
]
|
|
},
|
|
{
|
|
"name": "cmake-user",
|
|
"default-features": false,
|
|
"features": [
|
|
"cmake-3-7"
|
|
],
|
|
"platform": "x64 & (windows | linux | osx) & !uwp"
|
|
}
|
|
]
|
|
},
|
|
"cmake-3-7": {
|
|
"description": "Run the tests with CMake 3.7"
|
|
},
|
|
"cmake-current": {
|
|
"description": "Run the tests with vcpkg's current version of CMake"
|
|
},
|
|
"find-package": {
|
|
"description": "Ports to be tested via find_package($package)",
|
|
"dependencies": [
|
|
{
|
|
"$package": "BZip2",
|
|
"name": "bzip2"
|
|
},
|
|
{
|
|
"$package": "CURL",
|
|
"name": "curl",
|
|
"default-features": false
|
|
},
|
|
{
|
|
"$package": "EXPAT",
|
|
"name": "expat"
|
|
},
|
|
{
|
|
"$package": "Fontconfig",
|
|
"$since": "3.14",
|
|
"name": "fontconfig",
|
|
"platform": "!mingw & !uwp"
|
|
},
|
|
{
|
|
"$package": "Freetype",
|
|
"name": "freetype",
|
|
"default-features": false
|
|
},
|
|
{
|
|
"$package": "Intl",
|
|
"name": "gettext"
|
|
},
|
|
{
|
|
"$package": "GIF",
|
|
"name": "giflib"
|
|
},
|
|
{
|
|
"$package": "ICU",
|
|
"name": "icu",
|
|
"platform": "!uwp"
|
|
},
|
|
{
|
|
"$package": "Iconv",
|
|
"$since": "3.11",
|
|
"name": "libiconv"
|
|
},
|
|
{
|
|
"$package": "JPEG",
|
|
"name": "libjpeg-turbo"
|
|
},
|
|
{
|
|
"$package": "LibLZMA",
|
|
"name": "liblzma"
|
|
},
|
|
{
|
|
"$package": "PNG",
|
|
"name": "libpng"
|
|
},
|
|
{
|
|
"$package": "PostgreSQL",
|
|
"name": "libpq",
|
|
"default-features": false,
|
|
"platform": "!uwp & !mingw"
|
|
},
|
|
{
|
|
"$comment": "CMake 3.11 because it needs Iconv",
|
|
"$package": "LibXml2",
|
|
"$since": "3.11",
|
|
"name": "libxml2",
|
|
"default-features": false
|
|
},
|
|
{
|
|
"$comment": "CMake 3.11 because it needs Iconv",
|
|
"$package": "LibXslt",
|
|
"$since": "3.11",
|
|
"name": "libxslt",
|
|
"default-features": false,
|
|
"platform": "!uwp & !mingw"
|
|
},
|
|
{
|
|
"$package": "TIFF",
|
|
"name": "tiff",
|
|
"default-features": false
|
|
},
|
|
{
|
|
"$package": "wxWidgets",
|
|
"name": "wxwidgets",
|
|
"default-features": false,
|
|
"platform": "!linux & !mingw & !uwp"
|
|
},
|
|
{
|
|
"$package": "ZLIB",
|
|
"name": "zlib"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|