构建乱码的问题。
All checks were successful
Build Applications / PullDocker (push) Successful in 4s
Build Applications / Build (push) Successful in 2m31s
Windows CI / build (push) Successful in 5m10s

This commit is contained in:
amass 2024-11-14 17:25:53 +08:00
parent c3430caf2f
commit 5b602e607c

View File

@ -38,13 +38,6 @@ function Build() {
-DQt6CoreTools_DIR="$qtHome\lib\cmake\Qt6CoreTools" `
-DQt6QmlTools_DIR="$qtHome\lib\cmake\Qt6QmlTools" `
-DLibraries_ROOT="$librariesPath"
$files = Get-ChildItem -Path "build" -Recurse -Filter "rules.ninja"
foreach ($file in $files) {
$content = Get-Content -Path $file.FullName -Encoding Default
Set-Content -Path $file.FullName -Value $content -Encoding UTF8
Write-Host "Converted $($file.FullName) to UTF-8"
}
}
cmake.exe --build $buildPath --target all