You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Git for Windows (Skip if you have this already installed outside of the VS installer)
109
110
- CMake tools for Windows (Skip if you have this already installed outside of the VS installer)
110
111
112
+
### vcpkg
113
+
114
+
`mob` now uses **vcpkg** to manage its third-party dependencies (like libcurl).
115
+
116
+
1.**Install vcpkg**: If you don't have it, follow the [official instructions](https://learn.microsoft.com/en-us/vcpkg/get_started/get-started).
117
+
2.**Set Environment Variable**: `mob` requires the `VCPKG_ROOT` environment variable to locate the toolchain.
118
+
119
+
```powershell
120
+
$env:VCPKG_ROOT = "C:\path\to\vcpkg"
121
+
$env:PATH = "$env:VCPKG_ROOT;$env:PATH"
122
+
```
123
+
124
+
3.**Static Triplet**: `mob` builds with the `x64-windows-static-md` triplet by default to ensure a standalone executable. The `bootstrap.ps1` script handles this automatically if `VCPKG_ROOT` is set.
125
+
111
126
## Setting up MOB
112
127
113
128
```powershell
@@ -117,6 +132,9 @@ cd C:\dev
117
132
# clone this repository
118
133
git clone https://github.com/ModOrganizer2/mob
119
134
135
+
# set vcpkg path, or use `vcpkg integrate install` instead
136
+
$env:VCPKG_ROOT = "C:\path\to\your\vcpkg"
137
+
120
138
# build mob itself - this will create mob.exe in the current directory
0 commit comments