-
-
Notifications
You must be signed in to change notification settings - Fork 1k
/
Copy pathvcpkg.json
55 lines (55 loc) · 1.93 KB
/
vcpkg.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"version": "2025.04.09",
"description": "C/C++ dependency manager from Microsoft For all platforms, buildsystems, and workflows",
"homepage": "https://vcpkg.io/",
"license": "MIT",
"suggest": {
"Git": "git"
},
"url": "https://github.com/microsoft/vcpkg/archive/refs/tags/2025.04.09.zip",
"hash": "1f9aec6761dfa867737eea4fce794942b05c127fa00b57f10cb59e73aa1d702d",
"extract_dir": "vcpkg-2025.04.09",
"pre_install": [
"if (Get-Command \"git.exe\" -ErrorAction SilentlyContinue) {",
" if (!(Test-Path \"$persist_dir\")) {",
" New-Item -ItemType Directory -Path \"$persist_dir\" | Out-Null",
" }",
" if (!(Test-Path \"$persist_dir\\.git\")) {",
" git -C \"$dir\" init --quiet --separate-git-dir \"$persist_dir\\.git\"",
" git -C \"$dir\" remote add -t master origin https://github.com/microsoft/vcpkg",
" } else {",
" Write-Output \"gitdir: $persist_dir\\.git\" | Out-File -FilePath \"$dir\\.git\"",
" }",
" git -C \"$dir\" fetch --quiet --tags",
" git -C \"$dir\" reset --quiet --hard $version",
"} else {",
" Write-Host -F Yellow \"Git was not detected in PATH, skipping repository setup.\"",
"}"
],
"installer": {
"file": "bootstrap-vcpkg.bat",
"args": "-disableMetrics",
"keep": true
},
"post_install": "vcpkg integrate install",
"uninstaller": {
"script": "vcpkg integrate remove"
},
"bin": "vcpkg.exe",
"env_set": {
"VCPKG_ROOT": "$dir"
},
"persist": [
"buildtrees",
"downloads",
"installed",
"packages"
],
"checkver": {
"github": "https://github.com/microsoft/vcpkg/"
},
"autoupdate": {
"url": "https://github.com/microsoft/vcpkg/archive/refs/tags/$version.zip",
"extract_dir": "vcpkg-$version"
}
}