Skip to content

Commit ed8da3a

Browse files
committed
Use VS2026 generator to build mob.
1 parent 98a71ea commit ed8da3a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build Mob
22

33
on:
44
push:
5-
branches: master
5+
branches: [master]
66
pull_request:
77
types: [opened, synchronize, reopened]
88

bootstrap.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if (!$root) {
1313

1414
$output = if ($Verbose) { "Out-Default" } else { "Out-Null" }
1515

16-
cmake -B $root/build -G "Visual Studio 17 2022" $root | & $output
16+
cmake -B $root/build -G "Visual Studio 18 2026" $root | & $output
1717

1818
$installationPath = & $root\third-party\bin\vswhere.exe -products * -nologo -prerelease -latest -property installationPath
1919
if (! $?) {
@@ -27,7 +27,7 @@ if (! $installationPath) {
2727
}
2828

2929
$opts = ""
30-
$opts += " $root\build\mob.sln"
30+
$opts += " $root\build\mob.slnx"
3131
$opts += " -m"
3232
$opts += " -p:Configuration=${Config}"
3333
$opts += " -noLogo"

0 commit comments

Comments
 (0)