param (
    [switch]$mingw
)

if($mingw)
{
    Copy-Item -Path "C:\Program Files\Pico Technology\SDK\lib\ps4000a.dll" -Destination ".\build\ps4000a.dll"
    Copy-Item -Path "C:\Program Files\Pico Technology\SDK\lib\picoipp.dll" -Destination ".\build\picoipp.dll"
} else {
    Copy-Item -Path "C:\Program Files\Pico Technology\SDK\lib\ps4000a.dll" -Destination ".\build\Release\ps4000a.dll"
    Copy-Item -Path "C:\Program Files\Pico Technology\SDK\lib\picoipp.dll" -Destination ".\build\Release\picoipp.dll"
}