Files
VEFontCache-Odin/scripts/build_sokol_library.ps1
2024-07-01 12:24:03 -04:00

22 lines
761 B
PowerShell

$devshell = Join-Path $PSScriptRoot 'helpers/devshell.ps1'
& $devshell -arch amd64
$path_root = '../..'
$path_backend = join-path $path_root 'backend'
$path_build = join-path $path_root 'build'
$path_scripts = join-path $path_root 'scripts'
$path_thirdparty = join-path $path_root 'thirdparty'
$path_sokol = join-path $path_thirdparty 'sokol'
$path_sokol_examples = join-path $path_sokol 'examples'
if ( (test-path $path_sokol) -and (test-path "$path_sokol/sokol") )
{
Move-Item -Path "$path_sokol/sokol/*" -Destination $path_sokol -Force
Remove-Item -Path "$path_sokol/sokol" -Recurse -Force
Remove-Item -Path $path_sokol_examples -Recurse -Force
}
push-location $path_sokol
& '.\build_clibs_windows.cmd'
pop-location