mirror of
https://github.com/Ed94/VEFontCache-Odin.git
synced 2025-08-05 22:42:43 -07:00
Update build script to copy harfbuzz dlls
This commit is contained in:
@@ -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'
|
||||||
|
Reference in New Issue
Block a user