Skip to content

Commit ae9648c

Browse files
authored
Update Clang version and install WiX dependencies
Updated Clang version and added WiX installation steps.
1 parent 55b0fd9 commit ae9648c

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

Scripts/Windows/setup-dependencies.ps1

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Param(
22
[string]$VulkanVersion = '1.4.321.1',
3-
[string]$ClangVersion = '21.1.1',
3+
[string]$ClangVersion = '21.1.5',
44
[string]$VulkanSdkPath = 'C:\VulkanSDK'
55
)
66

@@ -31,8 +31,21 @@ sccache -s # show stats
3131
# Install CMake, Cppcheck, NSIS via WinGet
3232
Write-Host "Installing CMake, Cppcheck and NSIS via winget..."
3333
winget install --accept-source-agreements --accept-package-agreements cmake cppcheck nsis
34+
3435
# also get wix
35-
winget install --accept-source-agreements --accept-package-agreements --id WiXToolset.WiXToolset -e
36+
dotnet tool install --tool-path C:\WiX wix --version 4.0.4
37+
38+
# Add wix to PATH (in case it's under Program Files (x86))
39+
$wixPath = 'C:\WiX'
40+
if (Test-Path $wixPath) {
41+
Write-Host "Adding wix path to GITHUB_PATH: $wixPath"
42+
$wixPath | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
43+
} else {
44+
Write-Warning "wix installation path not found at $nsisPath"
45+
}
46+
47+
C:\WiX\wix extension add --global WixToolset.UI.wixext/4.0.4
48+
3649
# get ninja
3750
Write-Host "Installing Ninja via winget..."
3851
winget install --accept-source-agreements --accept-package-agreements --id=Ninja-build.Ninja -e

0 commit comments

Comments
 (0)