Update build script to copy harfbuzz dlls

This commit is contained in:
2024-07-01 01:03:39 -04:00
parent e55e089774
commit 1199daaa74

View File

@@ -51,12 +51,20 @@ Update-GitRepo -path $path_sokol -url $url_sokol -build_command $sokol_bu
Update-GitRepo -path $path_harfbuzz -url $url_harfbuzz -build_command '.\scripts\build.ps1' Update-GitRepo -path $path_harfbuzz -url $url_harfbuzz -build_command '.\scripts\build.ps1'
push-location $path_thirdparty push-location $path_thirdparty
$path_sokol_dlls = $path_sokol $path_sokol_dlls = $path_sokol
$path_harfbuzz_dlls = join-path $path_harfbuzz 'lib/win64'
$third_party_dlls = Get-ChildItem -Path $path_sokol_dlls -Filter '*.dll' $third_party_dlls = Get-ChildItem -Path $path_sokol_dlls -Filter '*.dll'
foreach ($dll in $third_party_dlls) { foreach ($dll in $third_party_dlls) {
$destination = join-path $path_build $dll.Name $destination = join-path $path_build $dll.Name
Copy-Item $dll.FullName -Destination $destination -Force Copy-Item $dll.FullName -Destination $destination -Force
} }
$third_party_dlls = Get-ChildItem -path $path_harfbuzz_dlls -Filter '*.dll'
foreach ($dll in $third_party_dlls) {
$destination = join-path $path_build $dll.Name
Copy-Item $dll.FullName -Destination $destination -Force
}
pop-location pop-location
$odin_compiler_defs = join-path $PSScriptRoot 'helpers/odin_compiler_defs.ps1' $odin_compiler_defs = join-path $PSScriptRoot 'helpers/odin_compiler_defs.ps1'