pocketpy/build.ps1
Non c18821fc42
Powershell-ify build.ps1
Convert *nix commands to PowerShell commands
2023-10-05 19:16:40 +13:00

13 lines
329 B
PowerShell

if (Test-Path build) {
Remove-Item -Recurse -Force build
}
New-Item -ItemType Directory -Path build
Push-Location build
cmake ..
cmake --build . --config Release
Copy-Item "Release\main.exe" -Destination ".." # Note: NTFS uses backslash (\) instead of slashes (*nix, /)
Copy-Item "Release\pocketpy.dll" -Destination ".."