mirror of
https://github.com/aphrody-labs/vcpkg-tool.git
synced 2026-10-13 21:09:43 +00:00
373 lines
10 KiB
JSON
373 lines
10 KiB
JSON
{
|
|
"version": 3,
|
|
"configurePresets": [
|
|
{
|
|
"name": "official",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"VCPKG_OFFICIAL_BUILD": true,
|
|
"VCPKG_BASE_VERSION": "2025-12-16",
|
|
"VCPKG_STANDALONE_BUNDLE_SHA": "23c77d1dd70bf861328a8e35203aed2db0deb9a83aa924cadaf96ffaae42e8629363184b99168e33158b819d695c748bd7cb9eb39528bd374f8b7e2ab6d4f6de",
|
|
"VCPKG_ARTIFACTS_SHA": "def65b1f4a710c0b521603a275ff6bae31ad8c5b938cd4445fb69c4d0da97c21d753c274c9b9b1cc2f8a86ba694759d4f3f4f325f88be02a5d8ad10c8f56e5df"
|
|
}
|
|
},
|
|
{
|
|
"name": "base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "out/build/${presetName}",
|
|
"installDir": "out/install/${presetName}",
|
|
"cacheVariables": {
|
|
"VCPKG_BUILD_BENCHMARKING": true,
|
|
"VCPKG_BUILD_FUZZING": true,
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": true
|
|
}
|
|
},
|
|
{
|
|
"name": "debug",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "release",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows",
|
|
"hidden": true,
|
|
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"cacheVariables": {
|
|
"VCPKG_BUILD_TLS12_DOWNLOADER": true
|
|
},
|
|
"vendor": {
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
"hostOS": [
|
|
"Windows"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "artifacts",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"VCPKG_ARTIFACTS_DEVELOPMENT": true
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-x64",
|
|
"hidden": true,
|
|
"inherits": "windows",
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-arm64",
|
|
"hidden": true,
|
|
"inherits": "windows",
|
|
"architecture": {
|
|
"value": "arm64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"VCPKG_TARGET_TRIPLET": "arm64-windows-static"
|
|
}
|
|
},
|
|
{
|
|
"name": "Win-x64-Debug",
|
|
"inherits": [
|
|
"base",
|
|
"windows-x64",
|
|
"debug"
|
|
]
|
|
},
|
|
{
|
|
"name": "Win-arm64-Debug",
|
|
"inherits": [
|
|
"base",
|
|
"windows-arm64",
|
|
"debug"
|
|
]
|
|
},
|
|
{
|
|
"name": "Win-x64-Debug-NoPch",
|
|
"inherits": "Win-x64-Debug",
|
|
"cacheVariables": {
|
|
"CMAKE_DISABLE_PRECOMPILE_HEADERS": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Win-x64-Fuzzing",
|
|
"inherits": [
|
|
"base",
|
|
"windows-x64",
|
|
"release"
|
|
],
|
|
"cacheVariables": {
|
|
"VCPKG_FUZZER_INSTRUMENTATION": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Win-x64-Debug-WithArtifacts",
|
|
"inherits": [
|
|
"Win-x64-Debug",
|
|
"artifacts"
|
|
]
|
|
},
|
|
{
|
|
"name": "Win-arm64-Debug-WithArtifacts",
|
|
"inherits": [
|
|
"Win-arm64-Debug",
|
|
"artifacts"
|
|
]
|
|
},
|
|
{
|
|
"name": "Win-x64-Debug-NoAnalyze",
|
|
"inherits": "Win-x64-Debug",
|
|
"cacheVariables": {
|
|
"VCPKG_MSVC_ANALYZE": false
|
|
}
|
|
},
|
|
{
|
|
"name": "Win-x64-Debug-Official",
|
|
"inherits": [
|
|
"Win-x64-Debug",
|
|
"official"
|
|
]
|
|
},
|
|
{
|
|
"name": "Win-x64-Release",
|
|
"inherits": [
|
|
"base",
|
|
"windows-x64",
|
|
"release"
|
|
]
|
|
},
|
|
{
|
|
"name": "Win-x64-Release-Official",
|
|
"inherits": [
|
|
"Win-x64-Release",
|
|
"official"
|
|
]
|
|
},
|
|
{
|
|
"name": "Win-arm64-Release",
|
|
"inherits": [
|
|
"base",
|
|
"windows-arm64",
|
|
"release"
|
|
]
|
|
},
|
|
{
|
|
"name": "Win-arm64-Release-Official",
|
|
"inherits": [
|
|
"Win-arm64-Release",
|
|
"official"
|
|
]
|
|
},
|
|
{
|
|
"name": "windows-ci",
|
|
"inherits": "Win-x64-Debug-WithArtifacts",
|
|
"cacheVariables": {
|
|
"VCPKG_WARNINGS_AS_ERRORS": true
|
|
}
|
|
},
|
|
{
|
|
"name": "linux",
|
|
"hidden": true,
|
|
"vendor": {
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
"hostOS": [
|
|
"Linux"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-with-artifacts",
|
|
"inherits": [
|
|
"base",
|
|
"linux",
|
|
"artifacts"
|
|
]
|
|
},
|
|
{
|
|
"name": "linux-debug",
|
|
"inherits": [
|
|
"base",
|
|
"debug",
|
|
"linux"
|
|
],
|
|
"cacheVariables": {
|
|
"VCPKG_WARNINGS_AS_ERRORS": true
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-fuzzing",
|
|
"inherits": [
|
|
"base",
|
|
"linux"
|
|
],
|
|
"cacheVariables": {
|
|
"VCPKG_FUZZER_INSTRUMENTATION": true,
|
|
"VCPKG_BUILD_FUZZING": true
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-ci",
|
|
"inherits": [
|
|
"base",
|
|
"debug",
|
|
"artifacts",
|
|
"linux"
|
|
],
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_FLAGS": "-fprofile-arcs -fPIC -O0 -fsanitize=undefined -fsanitize=address",
|
|
"CMAKE_EXE_LINKER_FLAGS": "-static-libasan",
|
|
"VCPKG_WARNINGS_AS_ERRORS": true
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-arm64-ci",
|
|
"inherits": [ "linux-ci" ],
|
|
"cacheVariables": {
|
|
"CMAKE_SYSTEM_PROCESSOR": "aarch64",
|
|
"VCPKG_LIBCURL_DLSYM_UPDATED_HEADERS": true
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-codespaces",
|
|
"inherits": [
|
|
"base",
|
|
"debug",
|
|
"artifacts",
|
|
"linux"
|
|
],
|
|
"cacheVariables": {
|
|
"VCPKG_WARNINGS_AS_ERRORS": true
|
|
}
|
|
},
|
|
{
|
|
"name": "macos",
|
|
"hidden": true,
|
|
"vendor": {
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
"hostOS": [
|
|
"macOS"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "macos-ci",
|
|
"inherits": [
|
|
"base",
|
|
"debug",
|
|
"artifacts",
|
|
"macos"
|
|
],
|
|
"cacheVariables": {
|
|
"CMAKE_OSX_DEPLOYMENT_TARGET": "10.13",
|
|
"VCPKG_WARNINGS_AS_ERRORS": true
|
|
}
|
|
},
|
|
{
|
|
"name": "bootstrap.sh",
|
|
"description": "Preset used by vcpkg's bootstrap-vcpkg.sh",
|
|
"generator": "Ninja",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"VCPKG_DEVELOPMENT_WARNINGS": "OFF"
|
|
}
|
|
},
|
|
{
|
|
"name": "bootstrap.sh parallel build",
|
|
"description": "Preset used by vcpkg's bootstrap-vcpkg.sh when the VCPKG_MAX_CONCURRENCY variable is non-empty",
|
|
"inherits": ["bootstrap.sh"],
|
|
"cacheVariables": {
|
|
"CMAKE_JOB_POOL_COMPILE": "compile",
|
|
"CMAKE_JOB_POOL_LINK": "link",
|
|
"CMAKE_JOB_POOLS": "compile=$env{VCPKG_MAX_CONCURRENCY};link=$env{VCPKG_MAX_CONCURRENCY}"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "windows-ci",
|
|
"configurePreset": "windows-ci"
|
|
},
|
|
{
|
|
"name": "linux-debug",
|
|
"configurePreset": "linux-debug"
|
|
},
|
|
{
|
|
"name": "linux-ci",
|
|
"configurePreset": "linux-ci"
|
|
},
|
|
{
|
|
"name": "linux-arm64-ci",
|
|
"configurePreset": "linux-arm64-ci"
|
|
},
|
|
{
|
|
"name": "linux-codespaces",
|
|
"configurePreset": "linux-codespaces"
|
|
},
|
|
{
|
|
"name": "macos-ci",
|
|
"configurePreset": "macos-ci"
|
|
},
|
|
{
|
|
"name": "Win-x64-Debug-WithArtifacts",
|
|
"configurePreset": "Win-x64-Debug-WithArtifacts"
|
|
},
|
|
{
|
|
"name": "Win-arm64-Debug-WithArtifacts",
|
|
"configurePreset": "Win-arm64-Debug-WithArtifacts"
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "windows-ci",
|
|
"configurePreset": "windows-ci"
|
|
},
|
|
{
|
|
"name": "linux-debug",
|
|
"configurePreset": "linux-debug"
|
|
},
|
|
{
|
|
"name": "linux-ci",
|
|
"configurePreset": "linux-ci"
|
|
},
|
|
{
|
|
"name": "linux-arm64-ci",
|
|
"configurePreset": "linux-arm64-ci"
|
|
},
|
|
{
|
|
"name": "linux-codespaces",
|
|
"configurePreset": "linux-codespaces"
|
|
},
|
|
{
|
|
"name": "macos-ci",
|
|
"configurePreset": "macos-ci"
|
|
},
|
|
{
|
|
"name": "Win-x64-Debug-WithArtifacts",
|
|
"configurePreset": "Win-x64-Debug-WithArtifacts"
|
|
},
|
|
{
|
|
"name": "Win-arm64-Debug-WithArtifacts",
|
|
"configurePreset": "Win-arm64-Debug-WithArtifacts"
|
|
}
|
|
]
|
|
}
|