构建乱码的问题。
This commit is contained in:
parent
0aa2721f67
commit
c3430caf2f
@ -38,6 +38,13 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user